[PR #6349] Use ACTIONS_UPDATE_TOKEN for workflows that push to forks #20821

Closed
opened 2026-04-14 21:46:15 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/6349

State: closed
Merged: Yes


Summary

GITHUB_TOKEN doesn't have permission to push to fork branches in workflow_run and issue_comment triggered workflows. This PR switches to using a PAT stored as ACTIONS_UPDATE_TOKEN for workflows that need cross-fork push access.

Changes

  • VRT update workflow: Use ACTIONS_UPDATE_TOKEN for checkout token when pushing VRT screenshot updates to contributor fork branches
  • AI-generated release notes: Pass ACTIONS_UPDATE_TOKEN as environment variable when committing release notes files to PR branches

Notes

  • The ACTIONS_UPDATE_TOKEN secret must be configured in repository settings with appropriate permissions (contents: write)
  • Static analysis may show "Context access might be invalid" warnings for custom secrets - this is expected and informational only
**Original Pull Request:** https://github.com/actualbudget/actual/pull/6349 **State:** closed **Merged:** Yes --- ## Summary `GITHUB_TOKEN` doesn't have permission to push to fork branches in `workflow_run` and `issue_comment` triggered workflows. This PR switches to using a PAT stored as `ACTIONS_UPDATE_TOKEN` for workflows that need cross-fork push access. ## Changes - **VRT update workflow**: Use `ACTIONS_UPDATE_TOKEN` for checkout token when pushing VRT screenshot updates to contributor fork branches - **AI-generated release notes**: Pass `ACTIONS_UPDATE_TOKEN` as environment variable when committing release notes files to PR branches ## Notes - The `ACTIONS_UPDATE_TOKEN` secret must be configured in repository settings with appropriate permissions (`contents: write`) - Static analysis may show "Context access might be invalid" warnings for custom secrets - this is expected and informational only
GiteaMirror added the pull-request label 2026-04-14 21:46:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#20821