tileserver-gl/.github/workflows/automerger.yml
Vinayak Kulkarni e006864f04
fix: update automerge job to run for dependabot user
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
2022-12-11 02:15:57 +05:30

19 lines
432 B
YAML

name: 'Auto Merge PRs'
on:
pull_request:
branches:
- master
jobs:
automerge:
runs-on: ubuntu-latest
if: >
github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]'
permissions:
pull-requests: write
contents: write
steps:
- uses: fastify/github-action-merge-dependabot@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}