Skip to content

Commit 80ae79c

Browse files
committed
try with ref option
1 parent 6c92b75 commit 80ae79c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/files-changed.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
- uses: dorny/paths-filter@v2
3636
id: changes
3737
with:
38-
# needed for `act_runner exec`, is ignored for pull_request event
39-
# base: HEAD
38+
# needed for `act_runner exec`
39+
ref: ${{ env.ACT_EXEC == 'true' && 'HEAD' || env.GITHUB_REF }}
4040
filters: |
4141
backend:
4242
- "**/*.go"

0 commit comments

Comments
 (0)