Skip to content

.github/workflows/rerun.yml #4073

.github/workflows/rerun.yml

.github/workflows/rerun.yml #4073

Workflow file for this run

# from https://github.com/orgs/community/discussions/67654
on:
workflow_dispatch:
inputs:
run_id:
required: true
jobs:
rerun:
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- name: rerun ${{ inputs.run_id }}
env:
GH_REPO: ${{ github.repository }}
GH_TOKEN: ${{ github.token }}
GH_DEBUG: api
run: |
gh run watch ${{ inputs.run_id }} > /dev/null 2>&1
gh run rerun ${{ inputs.run_id }} --failed