mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 22:33:50 +08:00
Added .github/auto-approve.yml
This commit is contained in:
parent
985a1b94d9
commit
83b7611c90
19
.github/auto-approve.yml
vendored
Normal file
19
.github/auto-approve.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
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' ||
|
||||||
|
github.actor == 'dependabot-preview[bot]' ||
|
||||||
|
github.actor == 'dependabot-preview' ||
|
||||||
|
github.actor == 'renovate[bot]' ||
|
||||||
|
github.actor == 'renovate'
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.PAT_TOKEN }}
|
Loading…
Reference in New Issue
Block a user