Skip to content

Commit 3432b91

Browse files
authored
Merge pull request rust-lang#3989 from RalfJung/ci
CI workflow: tweak conclusion job
2 parents cbf6c86 + e5d32b6 commit 3432b91

File tree

1 file changed

+5
-4
lines changed
  • src/tools/miri/.github/workflows

1 file changed

+5
-4
lines changed

src/tools/miri/.github/workflows/ci.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
# The `style` job only runs on Linux; this makes sure the Windows-host-specific
3535
# code is also covered by clippy.
3636
- name: Check clippy
37-
if: matrix.os == 'windows-latest'
37+
if: ${{ matrix.os == 'windows-latest' }}
3838
run: ./miri clippy -- -D warnings
3939

4040
- name: Test Miri
@@ -58,14 +58,15 @@ jobs:
5858
- name: rustdoc
5959
run: RUSTDOCFLAGS="-Dwarnings" ./miri doc --document-private-items
6060

61+
# Summary job for the merge queue.
62+
# ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
63+
# And they should be added below in `cron-fail-notify` as well.
6164
conclusion:
6265
needs: [build, style]
6366
# We need to ensure this job does *not* get skipped if its dependencies fail,
6467
# because a skipped job is considered a success by GitHub. So we have to
6568
# overwrite `if:`. We use `!cancelled()` to ensure the job does still not get run
6669
# when the workflow is canceled manually.
67-
#
68-
# ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
6970
if: ${{ !cancelled() }}
7071
runs-on: ubuntu-latest
7172
steps:
@@ -86,7 +87,7 @@ jobs:
8687
# ... and create a PR.
8788
pull-requests: write
8889
needs: [build, style]
89-
if: github.event_name == 'schedule' && failure()
90+
if: ${{ github.event_name == 'schedule' && failure() }}
9091
steps:
9192
# Send a Zulip notification
9293
- name: Install zulip-send

0 commit comments

Comments
 (0)