Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpep committed Apr 7, 2024
1 parent 80b78ac commit 98902aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: pull_request
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]'
if: startsWith(github.event.pull_request.user.login, 'dependabot')
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
steps:
Expand All @@ -16,7 +16,6 @@ jobs:
id: metadata
uses: dependabot/fetch-metadata@v2
- name: Approve PR
if: steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch'
run: |
if [ "$(gh pr status --json reviewDecision -q .currentBranch.reviewDecision)" != "APPROVED" ]; then
gh pr review --approve
Expand Down

0 comments on commit 98902aa

Please sign in to comment.