Skip to content

Commit

Permalink
approve if the PR branch belongs to dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
Pil0tXia committed May 27, 2024
1 parent 2dea03d commit aabcdc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
# Pull request Auto merge is not enabled for this repository
dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]'
if: startsWith(github.head_ref, 'dependabot/')
steps:
- name: Dependabot metadata
id: metadata
Expand Down

0 comments on commit aabcdc4

Please sign in to comment.