mirror of https://github.com/abpframework/abp.git
2 changed files with 34 additions and 16 deletions
@ -1,17 +1,21 @@ |
|||||
|
# This workflow is intentionally disabled. |
||||
|
# Cancellation of redundant runs is now handled natively via the `concurrency` |
||||
|
# block defined in each individual workflow (e.g. build-and-test.yml). |
||||
|
# The styfle/cancel-workflow-action has been archived upstream and is no longer maintained. |
||||
|
# |
||||
|
# To re-enable manual cancellation, change `on: workflow_dispatch` back to `on: [push]` |
||||
|
# and restore the styfle step, but the native `concurrency` approach is preferred. |
||||
name: cancel-workflow |
name: cancel-workflow |
||||
on: [push] |
on: |
||||
|
workflow_dispatch: |
||||
permissions: |
permissions: |
||||
contents: read |
contents: read |
||||
|
|
||||
jobs: |
jobs: |
||||
cancel: |
cancel: |
||||
permissions: |
name: 'Disabled - See file header comment' |
||||
actions: write # for styfle/cancel-workflow-action to cancel/stop running workflows |
|
||||
name: 'Cancel Previous Runs' |
|
||||
runs-on: ubuntu-latest |
runs-on: ubuntu-latest |
||||
timeout-minutes: 3 |
timeout-minutes: 1 |
||||
steps: |
steps: |
||||
- uses: styfle/cancel-workflow-action@0.6.0 |
- name: No-op |
||||
with: |
run: echo "Cancellation is handled via concurrency groups in each workflow." |
||||
workflow_id: 10629,1299107,2792859,8268314 |
|
||||
access_token: ${{ github.token }} |
|
||||
|
|||||
Loading…
Reference in new issue