mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 19:33:52 +08:00
Added .github/workflows/auto-approve.yml
This commit is contained in:
parent
2a0ddae183
commit
c398d2e19f
13
.github/workflows/auto-approve.yml
vendored
Normal file
13
.github/workflows/auto-approve.yml
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
name: Auto approve
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
auto-approve:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: hmarr/auto-approve-action@v2
|
||||||
|
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renovate[bot]' || github.actor == 'renovate'
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.PAT_TOKEN }}
|
Loading…
Reference in New Issue
Block a user