Skip to content

Commit

Permalink
Checkout before paths filter
Browse files Browse the repository at this point in the history
  • Loading branch information
violet-dev committed Sep 8, 2024
1 parent 65438a1 commit 2731b3d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/violet-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
outputs:
src: ${{ steps.filter.outputs.src }}
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha || github.event.merge_group.head_sha }}

# For pull requests it's not necessary to checkout the code
- uses: dorny/paths-filter@v3
id: filter
Expand Down

0 comments on commit 2731b3d

Please sign in to comment.