Skip to content
repeat

GitHub Action

Rerun Workflows

v1 Latest version

Rerun Workflows

repeat

Rerun Workflows

Used to automatically rerun workflows if they were cancelled. Used to help the issue with concurrency

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Rerun Workflows

uses: synergy-au/rerun-workflows-action@v1

Learn more about this action in synergy-au/rerun-workflows-action

Choose a version

Rerun Cancelled Workflows Action

Used to rerun workflows based on the conclusion of the workflow (e.g. cancelled workflows). This can be used to resolve issues such as GitHub cancelling workflow runs that are pending.

Example Workflow

name: Rerun Cancelled Workflows
on:
  workflow_dispatch:
  schedule:
    - cron: '*/20 6-20 * * *'

jobs:
  rerun-workflows:
    name: Rerun Cancelled Workflows
    runs-on: ubuntu-latest
    steps:
      - name: Rerun Cancelled Workflows
        uses: synergy-au/rerun-workflows-action@v1
        with:
          auth-token: ${{ secrets.GITHUB_TOKEN }}