Skip to content

Commit

Permalink
ci: skip-duplicate-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nugine committed Oct 10, 2024
1 parent bc98aff commit 0fe66af
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,17 @@ on:
workflow_dispatch:

jobs:
skip-check:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5

audit:
needs: skip-check
if: needs.skip-check.outputs.should_skip != 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ on:
workflow_dispatch:

jobs:
skip-check:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5

develop:
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -58,6 +66,8 @@ jobs:
- run: cargo test --all-features

mint:
needs: skip-check
if: needs.skip-check.outputs.should_skip != 'true'
name: e2e (s3s-proxy, mint)
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 0fe66af

Please sign in to comment.