refactor: automerger now requires CI & CT Workflows
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
This commit is contained in:
parent
e9b59e455c
commit
d26d593a61
2 changed files with 10 additions and 5 deletions
6
.github/workflows/automerger.yml
vendored
6
.github/workflows/automerger.yml
vendored
|
|
@ -1,9 +1,7 @@
|
||||||
name: 'Auto Merge PRs'
|
name: 'Auto Merge PRs'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
workflow_call:
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
@ -12,8 +10,6 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
automerge:
|
automerge:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: >
|
|
||||||
github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]'
|
|
||||||
steps:
|
steps:
|
||||||
- uses: fastify/github-action-merge-dependabot@v3
|
- uses: fastify/github-action-merge-dependabot@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
9
.github/workflows/pipeline.yml
vendored
9
.github/workflows/pipeline.yml
vendored
|
|
@ -32,3 +32,12 @@ jobs:
|
||||||
needs:
|
needs:
|
||||||
- extract-branch
|
- extract-branch
|
||||||
uses: maptiler/tileserver-gl/.github/workflows/ct.yml@master
|
uses: maptiler/tileserver-gl/.github/workflows/ct.yml@master
|
||||||
|
automerger:
|
||||||
|
name: 'Automerge Dependabot PRs'
|
||||||
|
needs:
|
||||||
|
- ci
|
||||||
|
- ct
|
||||||
|
- extract-branch
|
||||||
|
if: >
|
||||||
|
github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]'
|
||||||
|
uses: maptiler/tileserver-gl/.github/workflows/ct.yml@master
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue