Skip to content

Commit 04b803d

Browse files
chore: Synced local '.github/workflows/dependabot.yml' with remote '.github/workflows/dependabot.yml'
1 parent 24559f0 commit 04b803d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/dependabot.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
GITHUB_TOKEN: ${{secrets.SYNCED_GITHUB_TOKEN_REPO}}
2828
steps:
2929
- name: approve
30-
run: gh pr review --comment -b "Automatically approved since dependabot is [configured](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#labels) with label `automatic`."
31-
if: ${{ github.event.label.name == 'automatic' }}
30+
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`."
31+
if: ${{ github.event.label.name != 'do not merge' }}
3232
- name: approve-instructions
33-
run: echo "configure dependabot with label 'automatic' to have it automatically approved and merged. https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#labels"
34-
if: ${{ github.event.label.name != 'automatic' }}
33+
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"
34+
if: ${{ github.event.label.name == 'do not merge' }}
3535
- name: merge
3636
run: gh pr merge --auto --squash --delete-branch "$PR_URL"

0 commit comments

Comments
 (0)