AFFiNE/.github/workflows/cancel.yml

19 lines
451 B
YAML
Raw Normal View History

2023-06-30 10:39:27 +03:00
name: Cancel
on:
pull_request_target:
types:
- edited
- synchronize
jobs:
cancel:
name: 'Cancel Previous Runs'
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: styfle/cancel-workflow-action@0.12.0
2023-06-30 10:39:27 +03:00
with:
2023-07-01 13:47:26 +03:00
# See https://api.github.com/repos/toeverything/AFFiNE/actions/workflows
2023-08-20 23:35:03 +03:00
workflow_id: 44038251, 61883931, 65188160, 66789140
2023-06-30 10:39:27 +03:00
access_token: ${{ github.token }}