Skip to content

Commit

Permalink
refactor: automerger now requires CI & CT Workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
  • Loading branch information
vinayakkulkarni committed Jan 6, 2023
1 parent 85c74f2 commit 9c29a97
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/automerger.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: 'Auto Merge PRs'

on:
pull_request:
branches:
- master
workflow_call:

permissions:
pull-requests: write
Expand All @@ -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:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9c29a97

Please sign in to comment.