refactor: automerger now requires CI & CT Workflows

Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
This commit is contained in:
Vinayak Kulkarni 2022-12-11 02:51:07 +05:30
parent e9b59e455c
commit d26d593a61
No known key found for this signature in database
GPG key ID: B8C8194CED989C08
2 changed files with 10 additions and 5 deletions

View file

@ -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:

View file

@ -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