Skip to content

Check Workflow Run(id: 10310709568; attempt: 2) - CI (branch: manjaro_arm_correct_os_family) #2700

Check Workflow Run(id: 10310709568; attempt: 2) - CI (branch: manjaro_arm_correct_os_family)

Check Workflow Run(id: 10310709568; attempt: 2) - CI (branch: manjaro_arm_correct_os_family) #2700

---
name: Check Workflow Run
run-name: "Check Workflow Run(id: ${{ github.event.workflow_run.id }}; attempt: ${{ github.event.workflow_run.run_attempt }}) - ${{ github.event.workflow_run.display_title }}"
on:
workflow_run:
types:
- completed
workflows:
- CI
- Nightly
- Scheduled
- Stage Release
permissions:
actions: write # So we can re-run workflow runs
jobs:
restart-failed-workflow-runs:
name: "Restart Workflow (id: ${{ github.event.workflow_run.id }}; attempt: ${{ github.event.workflow_run.run_attempt }})"
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
id: setup-python
with:
python-version: "3.10"
- name: Setup Python Tools Scripts
uses: ./.github/actions/setup-python-tools-scripts
- name: Pretty Print The GH Actions Event
run:
tools ci print-gh-event
- name: Restart Workflow
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
tools ci rerun-workflow