Skip to content

Commit

Permalink
test concurrent rule
Browse files Browse the repository at this point in the history
  • Loading branch information
pluflou committed Jun 5, 2024
1 parent e5c71c7 commit 9d8028b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,20 @@ on:
- main

jobs:
pre_job:
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
same_content_newer: 'true'

run-tests:
needs: pre_job
if: needs.pre_job.outputs.should_skip != 'true'
runs-on: ubuntu-latest
environment: test
concurrency:
Expand Down

0 comments on commit 9d8028b

Please sign in to comment.