.github/workflows/auto-approve.yml in rack-graphql-3.3.0 vs .github/workflows/auto-approve.yml in rack-graphql-3.5.0

- old
+ new

@@ -6,8 +6,8 @@ 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(toJson(github), 'HOTFIX-AUTO-APPROVE') + 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') with: github-token: "${{ secrets.GITHUB_TOKEN }}"