This repository was archived by the owner on Apr 5, 2024. It is now read-only.
File tree 1 file changed +28
-0
lines changed 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 43
43
- name : Run tests
44
44
run : sh ci/run.sh ${{ matrix.os }}
45
45
46
+ create_issue :
47
+ runs-on : ubuntu-latest
48
+ steps :
49
+ - name : Get today's date
50
+ id : date
51
+ run : |
52
+ echo "::set-output name=today::$(date "+%Y-%m-%d")"
53
+
54
+ - name : Create an issue
55
+ # the combination of these two lines seems to do the "if build_and_test failed, run this one"
56
+ needs : build_and_test
57
+ if : always() && github.event_name == 'schedule' && needs.build_and_test.result == 'failure'
58
+
59
+ uses : actions-ecosystem/action-create-issue@v1
60
+ with :
61
+ github_token : ${{ secrets.github_token }}
62
+ title : Nightly CI run failed
63
+ body : |
64
+ The nightly CI run on ${{ steps.date.outputs.today }} seems
65
+ to have failed.
66
+
67
+ - Check the logs at https://github.com/rust-lang/rust-semverver/actions/runs/${{ github.run_id }}
68
+ - Update to the latest `rustc-nightly` if necessary
69
+ - Investigate test run failures if any
70
+
71
+ labels : |
72
+ nightly-CI-failed
73
+
46
74
# https://forge.rust-lang.org/infra/docs/bors.html#adding-a-new-repository-to-bors
47
75
build_result :
48
76
name : bors build finished
You can’t perform that action at this time.
0 commit comments