Skip to content

Migrate auto_update to GitHub App token for PR creation#116

Merged
jasonvarga merged 3 commits into
mainfrom
workflow-update
Jun 4, 2026
Merged

Migrate auto_update to GitHub App token for PR creation#116
jasonvarga merged 3 commits into
mainfrom
workflow-update

Conversation

@jasonvarga

@jasonvarga jasonvarga commented Jun 4, 2026

Copy link
Copy Markdown
Member

The org-level "Allow GitHub Actions to create and approve pull requests" toggle is intentionally disabled, which blocks GITHUB_TOKEN from opening PRs. Authenticate peter-evans/create-pull-request with a scoped GitHub
App installation token (actions/create-github-app-token) instead — this sidesteps the toggle cleanly without re-enabling it, and means auto-update PRs will correctly trigger downstream CI workflows.

Also:

  • Bump peter-evans/create-pull-request v3 → v8.1.1 (Node 24, SHA-pinned)
  • Remove tj-actions/verify-changed-files; replace with native git diff/status shell commands
  • Drop pull-requests: write and contents: write from GITHUB_TOKEN — the App token carries both; GITHUB_TOKEN now only needs contents: read

jasonvarga and others added 3 commits June 4, 2026 10:42
The org-level "Allow GitHub Actions to create and approve pull requests"
toggle is intentionally disabled, which blocks GITHUB_TOKEN from opening
PRs. Authenticate peter-evans/create-pull-request with a scoped GitHub
App installation token (actions/create-github-app-token) instead — this
sidesteps the toggle cleanly without re-enabling it, and means auto-update
PRs will correctly trigger downstream CI workflows.

Also:
- Bump peter-evans/create-pull-request v3 → v8.1.1 (Node 24, SHA-pinned)
- Remove tj-actions/verify-changed-files (CVE-2025-30066 compromised
  publisher); replace with native git diff/status shell commands
- Drop pull-requests: write and contents: write from GITHUB_TOKEN — the
  App token carries both; GITHUB_TOKEN now only needs contents: read

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jasonvarga
jasonvarga merged commit 0fffb5f into main Jun 4, 2026
1 check passed
@jasonvarga
jasonvarga deleted the workflow-update branch June 4, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant