mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-01-31 04:53:11 -05:00
dev: Enable CI on merge queues (#6955)
This commit is contained in:
11
.github/workflows/pull-requests.yml
vendored
11
.github/workflows/pull-requests.yml
vendored
@@ -4,9 +4,13 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- mealie-next
|
- mealie-next
|
||||||
|
merge_group:
|
||||||
|
types: [checks_requested]
|
||||||
|
branches:
|
||||||
|
- mealie-next
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.merge_group.head_ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -47,7 +51,10 @@ jobs:
|
|||||||
|
|
||||||
publish-image:
|
publish-image:
|
||||||
name: "Publish PR Image"
|
name: "Publish PR Image"
|
||||||
if: contains(github.event.pull_request.labels.*.name, 'build-image') && github.repository == 'mealie-recipes/mealie'
|
if: |
|
||||||
|
github.event_name == 'pull_request' &&
|
||||||
|
contains(github.event.pull_request.labels.*.name, 'build-image') &&
|
||||||
|
github.repository == 'mealie-recipes/mealie'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
|||||||
Reference in New Issue
Block a user