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'
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
workflow_call:
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
|
@ -12,8 +10,6 @@ permissions:
|
|||
jobs:
|
||||
automerge:
|
||||
runs-on: ubuntu-latest
|
||||
if: >
|
||||
github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]'
|
||||
steps:
|
||||
- uses: fastify/github-action-merge-dependabot@v3
|
||||
with:
|
||||
|
|
|
|||
9
.github/workflows/pipeline.yml
vendored
9
.github/workflows/pipeline.yml
vendored
|
|
@ -32,3 +32,12 @@ jobs:
|
|||
needs:
|
||||
- extract-branch
|
||||
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