aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2024-05-28 20:01:47 -0400
committerEric Fiselier <eric@efcs.ca>2024-05-28 20:03:36 -0400
commitbd5cd4b837b67f8d549f072f37dd09295b4bf9f7 (patch)
tree4b2ddb049bced4cebe54da07914e4fbe30d0930b /.github
parent6f529aaf666624c26715aa348955b26a684d1250 (diff)
downloadllvm-bd5cd4b837b67f8d549f072f37dd09295b4bf9f7.zip
llvm-bd5cd4b837b67f8d549f072f37dd09295b4bf9f7.tar.gz
llvm-bd5cd4b837b67f8d549f072f37dd09295b4bf9f7.tar.bz2
Fix trigger for libc++ job rerunner.
Testing github actions is such a pain. I swear it should match now.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/restart-preempted-libcxx-jobs.yaml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.github/workflows/restart-preempted-libcxx-jobs.yaml b/.github/workflows/restart-preempted-libcxx-jobs.yaml
index 5682b0a..88924fb 100644
--- a/.github/workflows/restart-preempted-libcxx-jobs.yaml
+++ b/.github/workflows/restart-preempted-libcxx-jobs.yaml
@@ -11,18 +11,16 @@ name: Restart Preempted Libc++ Workflow
on:
workflow_run:
- workflows:
- - Build and Test libc\+\+
+ workflows: [Build and Test libc\+\+]
types:
- - failure
- - canceled
+ - completed
permissions:
contents: read
jobs:
restart:
- if: github.repository_owner == 'llvm'
+ if: github.repository_owner == 'llvm' && (github.event.workflow_run.conclusion == 'failure' || github.event.workflow_run.conclusion == 'cancelled')
name: "Restart Job"
permissions:
statuses: read