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 }}
Repository navigation
sync.yml PRs are opened with GITHUB_TOKEN, so required checks never run on them #120
sync.yml opens registry-sync PRs with peter-evans/create-pull-request using the default GITHUB_TOKEN. GitHub does not start pull_request workflows for PRs created with GITHUB_TOKEN, so none of the 7 required checks run. Without a manual push or a close-and-reopen, the PR can never merge. No such PR exists yet, so nothing is broken today, but the first time the automation fires it will produce a stuck PR.
Evidence
.github/workflows/sync.yml calls peter-evans/create-pull-request with no token: input.
GitHub docs: events triggered by GITHUB_TOKEN do not create new workflow runs (except workflow_dispatch and repository_dispatch).
Suggested approach
Use a GitHub App installation token (for example actions/create-github-app-token) or a fine-grained PAT for the PR creation step. Alternatively, document the close-and-reopen workaround in .github/workflows/README.md.
Done when
An automated sync PR receives all required checks without manual action.
Activity