Skip to content

Commit bd5cd4b

Browse files
committed
Fix trigger for libc++ job rerunner.
Testing github actions is such a pain. I swear it should match now.
1 parent 6f529aa commit bd5cd4b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/restart-preempted-libcxx-jobs.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,16 @@ name: Restart Preempted Libc++ Workflow
1111

1212
on:
1313
workflow_run:
14-
workflows:
15-
- Build and Test libc\+\+
14+
workflows: [Build and Test libc\+\+]
1615
types:
17-
- failure
18-
- canceled
16+
- completed
1917

2018
permissions:
2119
contents: read
2220

2321
jobs:
2422
restart:
25-
if: github.repository_owner == 'llvm'
23+
if: github.repository_owner == 'llvm' && (github.event.workflow_run.conclusion == 'failure' || github.event.workflow_run.conclusion == 'cancelled')
2624
name: "Restart Job"
2725
permissions:
2826
statuses: read

0 commit comments

Comments
 (0)