Skip to content

Commit 83b3a8a

Browse files
committed
CI: Fix changed-files action usage
Unfortunately this action needs to perform `git fetch` operations in some cases, which apparently requires `persist-credentials` to be `true`.
1 parent 8cb23a6 commit 83b3a8a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ jobs:
3131
steps:
3232
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3333
with:
34-
persist-credentials: false
34+
# This is needed to get the commit history for the changed-files action
35+
# (see https://github.com/tj-actions/changed-files/blob/v46.0.5/README.md#usage-)
36+
persist-credentials: true
3537

3638
- uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46.0.4
3739
id: changed-files-non-js

0 commit comments

Comments
 (0)