Skip to content

Commit

Permalink
tmp: test gh
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelpadovezi committed Dec 11, 2024
1 parent 8380b83 commit b66b391
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/automerger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Verify Status Checks

on:
status

jobs:
check-status:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Verify status checks
run: |
if [[ "$(jq -r '.check_suite.conclusion' $GITHUB_EVENT_PATH)" != "success" ]]; then
echo "Some status checks failed."
exit 1
fi
echo "All status checks passed."
21 changes: 21 additions & 0 deletions .github/workflows/automerger2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Verify Status Checks

on:
check_suite:
types: [completed]

jobs:
check-status:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Verify status checks
run: |
if [[ "$(jq -r '.check_suite.conclusion' $GITHUB_EVENT_PATH)" != "success" ]]; then
echo "Some status checks failed."
exit 1
fi
echo "All status checks passed."
21 changes: 21 additions & 0 deletions .github/workflows/automerger3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Verify Status Checks

on:
check_run:
types: [completed, created, rerequested, requested_action]

jobs:
check-status:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Verify status checks
run: |
if [[ "$(jq -r '.check_suite.conclusion' $GITHUB_EVENT_PATH)" != "success" ]]; then
echo "Some status checks failed."
exit 1
fi
echo "All status checks passed."

0 comments on commit b66b391

Please sign in to comment.