workflows/merge-queue: run owners check job
This commit is contained in:
5
.github/workflows/check.yml
vendored
5
.github/workflows/check.yml
vendored
@@ -4,10 +4,10 @@ on:
|
|||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
baseBranch:
|
baseBranch:
|
||||||
required: true
|
required: false
|
||||||
type: string
|
type: string
|
||||||
headBranch:
|
headBranch:
|
||||||
required: true
|
required: false
|
||||||
type: string
|
type: string
|
||||||
mergedSha:
|
mergedSha:
|
||||||
required: true
|
required: true
|
||||||
@@ -27,6 +27,7 @@ defaults:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
commits:
|
commits:
|
||||||
|
if: inputs.baseBranch && inputs.headBranch
|
||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
runs-on: ubuntu-24.04-arm
|
runs-on: ubuntu-24.04-arm
|
||||||
|
|||||||
13
.github/workflows/merge-group.yml
vendored
13
.github/workflows/merge-group.yml
vendored
@@ -56,6 +56,19 @@ jobs:
|
|||||||
core.info(`targetSha: ${context.payload.merge_group?.base_sha ?? process.env.TARGET_SHA}`)
|
core.info(`targetSha: ${context.payload.merge_group?.base_sha ?? process.env.TARGET_SHA}`)
|
||||||
core.setOutput('systems', require('./ci/supportedSystems.json'))
|
core.setOutput('systems', require('./ci/supportedSystems.json'))
|
||||||
|
|
||||||
|
check:
|
||||||
|
name: Check
|
||||||
|
needs: [prepare]
|
||||||
|
uses: ./.github/workflows/check.yml
|
||||||
|
permissions:
|
||||||
|
# cherry-picks; formality right now, but unused
|
||||||
|
pull-requests: write
|
||||||
|
secrets:
|
||||||
|
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
||||||
|
with:
|
||||||
|
mergedSha: ${{ needs.prepare.outputs.mergedSha }}
|
||||||
|
targetSha: ${{ needs.prepare.outputs.targetSha }}
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
name: Lint
|
name: Lint
|
||||||
needs: [prepare]
|
needs: [prepare]
|
||||||
|
|||||||
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@@ -82,6 +82,7 @@ jobs:
|
|||||||
uses: ./.github/workflows/merge-group.yml
|
uses: ./.github/workflows/merge-group.yml
|
||||||
# Those are actually only used on the merge_group event, but will throw an error if not set.
|
# Those are actually only used on the merge_group event, but will throw an error if not set.
|
||||||
permissions:
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
statuses: write
|
statuses: write
|
||||||
secrets:
|
secrets:
|
||||||
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user