matrixorigin / matrixorigin/matrixone
[Bug]: Mergify queue cannot update workflow without workflows permission
- Dominant language
- Go
- Stars
- 1.9k
- Forks
- 311
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 768
Description
## Is there an existing issue for the same bug?
- [x] I have checked the existing issues.
## Branch Name
main
## Commit ID
90937496cceeea02497745618cefbe64bcc7e083
## Other Environment Information
- GitHub repository: `matrixorigin/matrixone`
- Merge automation: Mergify automatic queue rule for `main`
- Pull request: https://github.com/matrixorigin/matrixone/pull/27177
- Mergify check: https://dashboard.mergify.com/queues/status?branch=main&pull=27177&login=matrixorigin&repository=matrixone
## Actual Behavior
Mergify entered pull request #27177 into the `main` queue, then left the queue without running CI. The queue check failed because Mergify's GitHub App was refused permission to create or update `.github/workflows/entrypoint.yaml`:
> refusing to allow a GitHub App to create or update workflow `.github/workflows/entrypoint.yaml` without `workflows` permission
The failure is external to the pull request changes. All MatrixOne GitHub Actions checks for the pull request completed successfully or were skipped.
## Expected Behavior
The Mergify queue rule should be able to perform its configured pull request update, or the repository automation should report a clear actionable configuration error without leaving an approved pull request blocked by a missing GitHub App permission.
## Steps to Reproduce
1. Open an approved pull request in `matrixorigin/matrixone` that satisfies the automatic queue rule for `main`.
2. Allow Mergify to enter the pull request into the queue.
3. Observe the queue rule when Mergify attempts to update the pull request or its workflow state.
4. Observe the permission error and the queue failure.
Observed on pull request #27177 at commit `90937496cceeea02497745618cefbe64bcc7e083` on 2026-08-14.
## Additional information
Mergify's pull request comment records that the queue ran for 42 minutes 18 seconds with no time running CI and then dequeued the pull request at `2026-08-14 22:19 UTC`:
https://github.com/matrixorigin/matrixone/pull/27177#issuecomment-5298411430
Contributor guide
Assessment
This issue has not been assessed yet.