@@ -1067,8 +1067,8 @@ jobs:
10671067 # CHANGELOG.md, other than the release's own, one with no note, and one that deprecates part of
10681068 # the API without naming it in its note. It runs last, after every other job, and reads the
10691069 # description then, so a description edited while the tests run is the one checked; one edited
1070- # after the run re-runs it (release-note-edited.yml). Running last, its stop mark (ci-stop.yml)
1071- # has nothing left to cancel. A pull request only: a merge group's pull requests each passed it,
1070+ # after the run re-runs it (release-note-edited.yml). Running last, its stop step
1071+ # (.github/actions/stop-on-failure) has nothing left to cancel. A pull request only: a merge group's pull requests each passed it,
10721072 # and nothing else has a description.
10731073 release-note :
10741074 name : release note
@@ -1080,6 +1080,8 @@ jobs:
10801080 contents : read
10811081 # To read the pull request's description and files.
10821082 pull-requests : read
1083+ # To cancel this run at its first failure (.github/actions/stop-on-failure).
1084+ actions : write
10831085 steps :
10841086 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
10851087 with :
@@ -1102,7 +1104,7 @@ jobs:
11021104 env :
11031105 GH_TOKEN : ${{ github.token }}
11041106 run : bun scripts/release-note-check.ts
1105- # On a failure, stops the run's other jobs at once (.github/workflows/ci- stop.yml ).
1107+ # On a failure, cancels the run at once (.github/actions/ stop-on-failure ).
11061108 - if : failure()
11071109 uses : $/.github/actions/stop-on-failure
11081110
0 commit comments