Skip to content

Commit

Permalink
Merge pull request #282 from hypnoglow/add-alls-green
Browse files Browse the repository at this point in the history
ci: add alls-green status check job
  • Loading branch information
hypnoglow authored Sep 15, 2023
2 parents 3a4c684 + 25023a0 commit 105522c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,22 @@ jobs:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}

# This job's only purpose is to be used for the "Require status checks to pass
# before merging" feature.
status-check:
name: "Status check"
needs:
- build
- test-e2e
- docker-images
if: always()
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
with:
jobs: ${{ toJSON(needs) }}

test-install:
name: Test plugin installation
needs:
Expand Down

0 comments on commit 105522c

Please sign in to comment.