mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-12-01 10:10:11 +00:00
22 lines
541 B
YAML
22 lines
541 B
YAML
|
name: Cancelling Duplicates
|
||
|
on:
|
||
|
workflow_run:
|
||
|
workflows:
|
||
|
- 'Deploy to Docker Hub'
|
||
|
- 'Check Linting'
|
||
|
- 'Tests'
|
||
|
types: ['requested']
|
||
|
|
||
|
jobs:
|
||
|
cancel-duplicate-workflow-runs:
|
||
|
name: "Cancel duplicate workflow runs"
|
||
|
runs-on: ubuntu-18.04
|
||
|
steps:
|
||
|
- uses: potiuk/cancel-workflow-runs@master
|
||
|
name: "Cancel duplicate workflow runs"
|
||
|
with:
|
||
|
cancelMode: allDuplicates
|
||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
||
|
|