Skip to content

ci: stop using MACHINE_USER_PAT for Composer GitHub OAuth - #32

Merged
Weetbix merged 1 commit into
mainfrom
jh/ci-remove-machine-user-pat
Aug 24, 2026
Merged

ci: stop using MACHINE_USER_PAT for Composer GitHub OAuth#32
Weetbix merged 1 commit into
mainfrom
jh/ci-remove-machine-user-pat

Conversation

@Weetbix

@Weetbix Weetbix commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace secrets.MACHINE_USER_PAT with secrets.GITHUB_TOKEN for Composer GitHub OAuth in unit tests, lint, and static analysis.
  • This repo only installs public Packagist packages, so a machine-user PAT is not required. The workflow token is enough if Composer hits GitHub API rate limits.

Test plan

  • Confirm CI jobs (unit-tests, lint, static-analysis) still install dependencies and pass
  • Confirm no remaining MACHINE_USER_PAT references in this repo

Made with Cursor

Composer only installs public Packagist packages here, so the workflow token is enough for GitHub rate limits.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Weetbix
Weetbix marked this pull request as ready for review August 19, 2026 11:02
@Weetbix
Weetbix requested a review from a team as a code owner August 19, 2026 11:02
@Weetbix
Weetbix requested a review from a team August 19, 2026 11:02
@Weetbix

Weetbix commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

devs please review

@colinbird colinbird left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine. This repo has no private Composer GitHub deps, so GITHUB_TOKEN is enough.

@Weetbix
Weetbix merged commit b4d60b2 into main Aug 24, 2026
5 checks passed
@Weetbix
Weetbix deleted the jh/ci-remove-machine-user-pat branch August 24, 2026 02:50
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.

3 participants