Skip to content

Commit

Permalink
chore: simplify dependabot workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoehnelt committed May 12, 2022
1 parent 46f7850 commit 89b933a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,5 @@ jobs:
steps:
- name: approve
run: gh pr review --comment -b "Automatically approved since dependabot is not [configured](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#labels) with label `do not merge`."
if: ${{ github.event.label.name != 'do not merge' }}
- name: approve-instructions
run: echo "Configure dependabot with label 'do not merge' to prevent it from being automatically approved and merged. https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#labels"
if: ${{ github.event.label.name == 'do not merge' }}
- name: merge
run: gh pr merge --auto --squash --delete-branch "$PR_URL"

0 comments on commit 89b933a

Please sign in to comment.