Skip to content

Retry Release

Retry Release #340

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Retry Release
on:
workflow_run:
workflows:
- Release
types:
- completed
permissions:
contents: read
jobs:
retry:
if: >-
github.event.workflow_run.conclusion == 'failure'
&& github.event.workflow_run.event == 'push'
&& github.event.workflow_run.run_attempt == 1
name: Retry Release
runs-on: ubuntu-24.04
permissions:
actions: write
steps:
- name: Re-run Failed Jobs
env:
GH_TOKEN: ${{ github.token }}
REPO: ${{ github.repository }}
RUN_ID: ${{ github.event.workflow_run.id }}
run: gh run rerun "$RUN_ID" --repo "$REPO" --failed