Re-run Workflow #91010
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
name: Re-run Workflow | |
on: | |
schedule: | |
- cron: '*/30 * * * *' | |
pull_request_target: | |
types: | |
- closed | |
- labeled | |
- unlabeled | |
workflow_run: | |
workflows: | |
- Pull Request Fail | |
types: | |
- completed | |
workflow_dispatch: | |
jobs: | |
rerun-workflow: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Event Data | |
run: | | |
cat <<-'EOF' | |
${{ toJSON(github.event) }} | |
EOF | |
- uses: actions/checkout@v4 | |
- name: Re-run pull request workflows | |
uses: ./ | |
with: | |
token: ${{ secrets.GH_TOKEN }} | |
once-label: ci-requeue | |
continuous-label: ci-retry | |
trigger-labels: ci-trigger | |
workflow: pull-request-fail.yml |