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:
parent
d8e9ac7c31
commit
e006864f04
1 changed files with 5 additions and 1 deletions
6
.github/workflows/automerger.yml
vendored
6
.github/workflows/automerger.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue