GitHub Merge Queue Support #1203
brand-it
started this conversation in
Feature Requests
Replies: 1 comment
-
Updated Solution/workaround needed to be more accurate. Create a new workflow like this and ensure the required check is from any source. Merge queue will let it pass. name: QLTY Fmt
on:
merge_group:
types: [checks_requested]
jobs:
fmt-check:
name: fmt
runs-on: ubuntu-latest
steps:
- name: Report FMT Status
run: echo "FMT check always passes." |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem statement
The problem comes with your trying to use github merge queues, and you want to make the
fmt
check required. Because github does not let you bypass rules, you have this weird problem where you can use merge queue and qlt checks. A workaround a lot of people have done for other tools is to create a github action that pushes a status of passed with the same name as the status that is reported by the tool.Solution brainstorm (optional)
A hack that I have used before is to place a github action that does nothing but has the same name as the check-in question so it reports as passed.
I have no idea if this system works, but it worked with code fresh/code coverage checks, so why not work here?
Beta Was this translation helpful? Give feedback.
All reactions