Update auto-approve.yml
This commit is contained in:
parent
85a510f37a
commit
c3d4191708
|
@ -2,13 +2,13 @@ name: auto-approve
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- dev
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: hmarr/auto-approve-action@v2.0.0
|
- uses: hmarr/auto-approve-action@v2.0.0
|
||||||
if: github.head_ref == 'create-pull-request/patch'
|
if: github.actor == 'github-actions'
|
||||||
with:
|
with:
|
||||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|
Loading…
Reference in New Issue