diff --git a/.github/workflows/violet-build.yml b/.github/workflows/violet-build.yml index 2096ae1ea..d31a447e3 100644 --- a/.github/workflows/violet-build.yml +++ b/.github/workflows/violet-build.yml @@ -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