Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,21 @@ jobs:
run: >-
/opt/puppetlabs/bolt/bin/bolt plan run puppetsync
options='{"list_pipeline_stages": true}'

# The one check for branch protection to require: GitHub only blocks a
# merge on checks listed by name, and this job fails unless every job it
# needs succeeded. Add any new job in this workflow to `needs:`.
all-checks:
name: 'All checks'
if: always()
needs:
- spec
- bolt
runs-on: ubuntu-latest
steps:
- name: 'Fail unless every needed job succeeded'
env:
NEEDS: ${{ toJSON(needs) }}
run: |
jq -r 'to_entries[] | "\(.key): \(.value.result)"' <<< "$NEEDS"
jq -e 'all(.[]; .result == "success")' <<< "$NEEDS" > /dev/null
Loading