mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
test skip-duplicated-actions
This commit is contained in:
@@ -12,7 +12,23 @@ env:
|
|||||||
NODE: 16
|
NODE: 16
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
pre_job:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
should_skip: ${{ steps.skip_check.outputs.should_skip }}
|
||||||
|
steps:
|
||||||
|
- id: skip_check
|
||||||
|
uses: fkirc/skip-duplicate-actions@v3
|
||||||
|
with:
|
||||||
|
github_token: ${{ github.token }}
|
||||||
|
cancel_others: 'true'
|
||||||
|
# skip_after_successful_duplicate: 'false'
|
||||||
|
concurrent_skipping: 'same_content'
|
||||||
|
do_not_skip: '["pull_request", "workflow_dispatch"]'
|
||||||
|
|
||||||
cspell:
|
cspell:
|
||||||
|
needs: pre_job
|
||||||
|
if: ${{ needs.pre_job.outputs.should_skip == 'false' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user