fix: update automerge job to run for dependabot user

Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
This commit is contained in:
Vinayak Kulkarni 2022-12-11 02:15:57 +05:30
parent d8e9ac7c31
commit e006864f04
No known key found for this signature in database
GPG key ID: 0FE8ABF8260A1552

View file

@ -1,11 +1,15 @@
name: 'Auto Merge PRs'
on:
workflow_call:
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