Skip to content

Commit 1575935

Browse files
Add ci_success job for stable branch protection (#48)
Adds a ci_success job that depends on all CI matrix jobs completing successfully. This provides a stable job name for branch protection rules that won't change when the CI matrix is updated.
1 parent 7e76d8b commit 1575935

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/php_ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,10 @@ jobs:
3434

3535
- name: PHP tests
3636
run: ./vendor/bin/phpunit
37+
38+
ci_success:
39+
name: CI Success
40+
runs-on: ubuntu-latest
41+
needs: [ci]
42+
steps:
43+
- run: echo "All CI jobs passed successfully"

0 commit comments

Comments
 (0)