Skip to content

Commit 7d189d1

Browse files
Pigbibicodex
andcommitted
fix(deps): use sync token for staged pin merge
Co-Authored-By: Codex <noreply@openai.com>
1 parent ca42af4 commit 7d189d1

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/advance-staged-qpk-pin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
- name: Queue validated staged pin for merge
115115
if: steps.guard.outputs.allowed == 'true'
116116
env:
117-
GH_TOKEN: ${{ github.token }}
117+
GH_TOKEN: ${{ secrets.QSL_REPO_SYNC_TOKEN || github.token }}
118118
run: |
119119
gh pr merge "${{ steps.pr.outputs.number }}" \
120120
--repo "$GITHUB_REPOSITORY" \

tests/test_update_qpk_pin_workflow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,5 +270,6 @@ def test_staged_pin_auto_advance_is_limited_to_verified_machine_prs() -> None:
270270
assert 'if [ "$files" != "QPK_PIN" ]; then' in workflow
271271
assert "candidate_is_not_on_main_history" in workflow
272272
assert "actions/checkout" not in workflow
273+
assert "secrets.QSL_REPO_SYNC_TOKEN || github.token" in workflow
273274
assert "--auto --rebase --delete-branch" in workflow
274275
assert "--match-head-commit" in workflow

0 commit comments

Comments
 (0)