Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
mweirauch committed Jul 15, 2024
1 parent 942bb9c commit bff990b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,17 @@ jobs:
check-duplicate-runs:
name: Check Duplicate Runs
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps: []
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- name: Skip Check
id: skip_check
uses: fkirc/skip-duplicate-actions@v5

lint:
name: Lint
needs: [check-duplicate-runs]
if: needs.check-duplicate-runs.outputs.should_skip != 'true'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -38,6 +43,7 @@ jobs:
test:
name: Test
needs: [check-duplicate-runs]
if: needs.check-duplicate-runs.outputs.should_skip != 'true'
strategy:
matrix:
os:
Expand Down

0 comments on commit bff990b

Please sign in to comment.