You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 20, 2026. It is now read-only.
The Submission workflow (.github/workflows/submit.yml) validates plugin submissions from the issue form and comments the result, but it can only push the submit/<owner>-<name> branch and open the registry.yaml PR when the repository secret SUBMIT_TOKEN is set. The default GITHUB_TOKEN cannot: this org disables "Allow GitHub Actions to create and approve pull requests", and PRs created by GITHUB_TOKEN would not trigger Validate anyway. Until it is set, passing submissions get a comment asking a maintainer to add the entry by hand.
Setup (dedicated machine user + fine-grained PAT)
Create a machine user — a new GitHub account (e.g. goblog-bot) with an email you control. Its name is what appears on submission PRs and issue comments.
Add it to the org — github.com/orgs/goblogplatform/people → Invite → role Member. Then repo Settings → Collaborators and teams on goblogplatform/plugins → add the bot with Write (not admin). Accept the invite from the bot account. (A fine-grained PAT can't exceed the account's own access, so Write is required for Contents write to work.)
Mint the PAT from the bot account — Settings → Developer settings → Personal access tokens → Fine-grained tokens → Generate:
Resource owner: goblogplatform
Repository access: Only select repositories → goblogplatform/plugins
Repository permissions: Contents: Read and write, Pull requests: Read and write, Issues: Read and write (Metadata: Read is added automatically)
Expiration: 1 year (GitHub emails the bot before expiry)
Approve the token in the org if the org requires approval of fine-grained PATs: github.com/organizations/goblogplatform/settings/personal-access-token-requests (or relax the policy under org Settings → Personal access tokens).
Store the secret from a maintainer account:
gh secret set SUBMIT_TOKEN -R goblogplatform/plugins
Paste the token at the prompt.
Test end-to-end via the "Submit a plugin" issue form:
goblogplatform/goblog-plugin-hello → expect an "already listed" comment from the bot.
goblogplatform/goblog → expect a validation-failure comment.
A fresh valid plugin repo → expect a submit/… PR opened by the bot and a "Validation passed — opened …" comment.
Alternative: GitHub App
A GitHub App (Contents, Pull requests, Issues write on this repo) avoids the second account, but submit.yml would need an actions/create-github-app-token step and two secrets (app ID + private key) instead of SUBMIT_TOKEN. Open a PR for that if preferred.
See README → Submissions and docs/CONTRACT.md §Submitting.
The
Submissionworkflow (.github/workflows/submit.yml) validates plugin submissions from the issue form and comments the result, but it can only push thesubmit/<owner>-<name>branch and open theregistry.yamlPR when the repository secretSUBMIT_TOKENis set. The defaultGITHUB_TOKENcannot: this org disables "Allow GitHub Actions to create and approve pull requests", and PRs created byGITHUB_TOKENwould not triggerValidateanyway. Until it is set, passing submissions get a comment asking a maintainer to add the entry by hand.Setup (dedicated machine user + fine-grained PAT)
goblog-bot) with an email you control. Its name is what appears on submission PRs and issue comments.github.com/orgs/goblogplatform/people→ Invite → role Member. Then repo Settings → Collaborators and teams ongoblogplatform/plugins→ add the bot with Write (not admin). Accept the invite from the bot account. (A fine-grained PAT can't exceed the account's own access, so Write is required for Contents write to work.)goblogplatformgoblogplatform/pluginsgithub.com/organizations/goblogplatform/settings/personal-access-token-requests(or relax the policy under org Settings → Personal access tokens).goblogplatform/goblog-plugin-hello→ expect an "already listed" comment from the bot.goblogplatform/goblog→ expect a validation-failure comment.submit/…PR opened by the bot and a "Validation passed — opened …" comment.Alternative: GitHub App
A GitHub App (Contents, Pull requests, Issues write on this repo) avoids the second account, but
submit.ymlwould need anactions/create-github-app-tokenstep and two secrets (app ID + private key) instead ofSUBMIT_TOKEN. Open a PR for that if preferred.See README → Submissions and
docs/CONTRACT.md§Submitting.🤖 Generated with Claude Code