Skip to content

Commit 2e0276d

Browse files
authored
[chore] Persist credentials on tidying job (#15381)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Reverts `persist-credentials` to `true` on this job to see if that fixes issues seen on Dependabot PRs such as #15374 <!-- Issue number if applicable --> #### Link to tracking issue Partial revert of #15356 <!--Authorship attestation. See AGENTS.md for details. AI agents must not check this box on behalf of the user; the human author must check it themselves before the PR is ready for review.--> #### Authorship - [x] I, a human, wrote this pull request description myself. <!--Please delete paragraphs that you did not use before submitting.-->
1 parent 92c3419 commit 2e0276d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/tidy-dependencies.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1919
with:
2020
ref: ${{ github.head_ref }}
21-
persist-credentials: false
21+
# Keep token so the `go mod tidy` step can push.
22+
persist-credentials: true # zizmor: ignore[artipacked]
2223
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
2324
with:
2425
go-version: oldstable

0 commit comments

Comments
 (0)