carbon
carbon copied to clipboard
chore(ci): remove merge queue automation
Based on the response in my support ticket, adding PRs to the merge queue via the gh cli in a workflow automation is broken and there's no timing on a fix.
It's a mixture of:
- https://github.com/cli/cli/issues/7143
- https://github.com/cli/cli/issues/7213
- https://github.com/cli/cli/issues/8352
All of which are grounded in API issues GitHub has yet to fix to my knowledge.
In the meantime, if someone's interested in refactoring this, it should be possible to manually envoke the API. I'm just not going to dive into that right now. Response from support:
You can add PRs to the merge queue using the enqueuepullrequest GraphQL mutation, for example:
mutation { enqueuePullRequest(input: {clientMutationId: "uniqueID1234", pullRequestId: "<PR_ID>"}) { clientMutationId mergeQueueEntry { enqueuedAt estimatedTimeToMerge mergeQueue { url } state } } }
The above example returns only some of the available return fields. See the full list here.
You can get the PR ID from the ${{ github.event.pull_request.node_id }} env variable. (See example here).
Deploy Preview for v11-carbon-react ready!
Name | Link |
---|---|
Latest commit | 238ae835b2e1824476d1dfe5e44c79bd5116cf16 |
Latest deploy log | https://app.netlify.com/sites/v11-carbon-react/deploys/65cd0fa991a13300085bb4f8 |
Deploy Preview | https://deploy-preview-15744--v11-carbon-react.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
The content of this pull request will be made available as part of our next release. For the full schedule of upcoming releases, check out our Release Radar page.