Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

cancel-builds-on-update #789

cancel-builds-on-update

cancel-builds-on-update #789

Workflow file for this run

name: cancel-builds-on-update
on:
workflow_run:
workflows: ['continuous-integration', 'python-package']
types: ['requested']
jobs:
cancel-duplicate-workflow-runs:
name: "Cancel duplicate workflow runs"
runs-on: ubuntu-latest
steps:
- uses: potiuk/cancel-workflow-runs@master
name: "Cancel duplicate workflow runs"
with:
cancelMode: duplicates
cancelFutureDuplicates: true
token: ${{ secrets.GITHUB_TOKEN }}
sourceRunId: ${{ github.event.workflow_run.id }}
notifyPRCancel: true
skipEventTypes: '["schedule"]'