[TEST] Testing the cluster setup action #37
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow checks if all CI checks have passed by polling every 5 minutes for a total of 7 attempts. | |
name: CI Check | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
check_ci_status: | |
runs-on: ubuntu-latest | |
permissions: | |
checks: read | |
pull-requests: write | |
steps: | |
- name: Check if all CI checks passed | |
uses: wechuli/allcheckspassed@0b68b3b7d92e595bcbdea0c860d05605720cf479 | |
with: | |
delay: '5' | |
retries: '7' | |
polling_interval: '5' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Save PR payload | |
shell: bash | |
run: | | |
mkdir -p ./pr | |
echo ${{ github.event.pull_request.number }} >> ./pr/pr_number | |
echo ${{ github.event.action }} >> ./pr/event_action | |
- uses: actions/[email protected] | |
with: | |
name: pr | |
path: pr/ |