mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-24 07:53:51 +08:00
20 lines
483 B
YAML
20 lines
483 B
YAML
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 }}
|