Skip to content

Commit

Permalink
Security fix for dependabot auto merge
Browse files Browse the repository at this point in the history
  • Loading branch information
billjh authored Jan 6, 2025
1 parent b2ce4e0 commit 6a0656e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:

jobs:
auto-merge:
if: github.actor == 'dependabot[bot]'
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'scala-steward-org/scala-steward-action' }}
runs-on: ubuntu-latest
steps:
- name: Auto-merge Dependabot PRs
Expand Down

0 comments on commit 6a0656e

Please sign in to comment.