From c6b98e4104694384660e07d1d7c1e4358a8bdd2f Mon Sep 17 00:00:00 2001 From: inpt333 Date: Tue, 7 Jan 2025 13:49:23 +0100 Subject: [PATCH] chore: add merge queue for pr verify --- .github/pull_request_template.md | 23 +++++++++++++++++++++++ .github/workflows/verify.yaml | 7 +++++++ 2 files changed, 30 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..09492f1 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,23 @@ +## Summary + +- What does this merge request implement? +- What are the most important pieces of code to review? +- Other bugs or minor issues you have fixed? + +## Impact + +- [ ] App +- [ ] Supabase functions +- [ ] Supabase migration +- [ ] CI / GitHub +- [ ] `package.json` + +## Testing steps + +What steps should the reviewer follow to test this change? + +## Open points + +What do you intend to address later? +What else is still unclear at the time of writing, +and needs further discussion before implementing? diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index 3d55496..f03dbf2 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -2,6 +2,13 @@ name: Verify on: pull_request: + merge_group: + +# We only care about the latest version: stop old jobs if a new commit is pushed. +# The fallback on github.ref is for when the workflow is for a merge queue. +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true jobs: flutter: