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] 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') with: github-token: "${{ secrets.GITHUB_TOKEN }}"