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