Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/changelog-radar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ jobs:
permissions:
issues: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 24
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
contents: read
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with: { fetch-depth: 0 }
with:
fetch-depth: 0
persist-credentials: false
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/update-competitive-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
pull-requests: write
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
Expand All @@ -41,6 +43,12 @@ jobs:
echo "changed=true" >> $GITHUB_OUTPUT
fi

- name: Configure git credentials
if: steps.changes.outputs.changed == 'true'
run: |
git config --local --unset-all http.https://github.com/.extraheader || true
git config --local url."https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "https://github.com/"

- name: Create PR
if: steps.changes.outputs.changed == 'true'
env:
Expand Down
8 changes: 0 additions & 8 deletions .github/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@

rules:
# ─── artipacked ────────────────────────────────────────────────────────
# These workflows push back to the repo (commits / tags / branches)
# using the default `GITHUB_TOKEN`, so `persist-credentials: false` is not
# an option. The token is scoped per-job and the workflows only run on the
# `main` branch or via `workflow_dispatch`, never on untrusted PR HEADs.
# Note: fix-drift.yml now uses persist-credentials: false with scoped
# url.insteadOf injection before push, so it no longer needs suppression.
artipacked:
ignore:
# Dependabot auto-merge: uses pull_request_target for write token.
Expand All @@ -19,8 +13,6 @@ rules:
# Dependabot major analysis: uses pull_request_target for PR comments.
# Does NOT checkout PR code. Actor-gated to dependabot[bot].
- dependabot-major-analysis.yml
- publish-release.yml
- update-competitive-matrix.yml

# ─── dangerous-triggers ────────────────────────────────────────────────
# `notify-pr.yml` uses `pull_request_target` intentionally: it needs
Expand Down
Loading