Skip to content

Commit 89f58f0

Browse files
committed
ci: use !cancelled() instead of always()
Apparently you can ignore a cancel request with the always() function. This is only documented on a single page in the GitHub workflow docs that I found in passing checking other garbage. I assume this means you could also bypass concurrency flags with this in place. Don't really want to find out. Signed-off-by: Randolph Sapp <rs@ti.com>
1 parent ea8ef63 commit 89f58f0

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/check-files.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
7474
- name: Save results
7575
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
76-
if: always()
76+
if: ${{ !cancelled() }}
7777
with:
7878
name: results
7979
path: results/

‎.github/workflows/check_toc_txt.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
7575
- name: Save results
7676
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
77-
if: always()
77+
if: ${{ !cancelled() }}
7878
with:
7979
name: results
8080
path: results/

‎.github/workflows/rstcheck.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
7474
- name: Save results
7575
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
76-
if: always()
76+
if: ${{ !cancelled() }}
7777
with:
7878
name: results
7979
path: results/

0 commit comments

Comments
 (0)