.github/workflows/auto-approve.yml in rack-graphql-3.6.0 vs .github/workflows/auto-approve.yml in rack-graphql-3.7.0
- old
+ new
@@ -1,13 +1,14 @@
name: Auto approve dependency upgrades and hot-fix PRs
on:
pull_request_target:
- types: [labeled, unlabeled, edited, ready_for_review, review_requested, auto_merge_enabled]
-
+ types:
+ - labeled
+ - ready_for_review
jobs:
auto-approve:
runs-on: ubuntu-latest
steps:
- uses: hmarr/auto-approve-action@v3
- if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev' || contains(github.event.pull_request.labels.*.name, 'HOTFIX-AUTO-APPROVE') || contains(github.event.pull_request.labels.*.name, 'dependencies')
+ if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev' || contains(github.event.pull_request.labels.*.name, 'HOTFIX-AUTO-APPROVE') || contains(github.event.pull_request.labels.*.name, 'self-approve') || contains(github.event.pull_request.labels.*.name, 'dependencies')
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"