diff --git a/.github/workflows/dependabot-firce-rebase.yml b/.github/workflows/dependabot-force-rebase.yml similarity index 77% rename from .github/workflows/dependabot-firce-rebase.yml rename to .github/workflows/dependabot-force-rebase.yml index 123f8c5..736cc95 100644 --- a/.github/workflows/dependabot-firce-rebase.yml +++ b/.github/workflows/dependabot-force-rebase.yml @@ -6,7 +6,7 @@ on: jobs: rebase: runs-on: ubuntu-latest - if: github.actor == 'dependabot[bot]' + if: github.event.pull_request && github.event.pull_request.user.login == 'dependabot[bot]' permissions: contents: write # 👈 allows pushing commits to branches pull-requests: write # 👈 allows updating PR metadata