Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Commit 5300eb5

Browse files
chore: Synced local '.github/workflows/dependabot.yml' with remote '.github/workflows/dependabot.yml'
1 parent 9d11361 commit 5300eb5

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/dependabot.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,17 @@ permissions:
1919
contents: write
2020

2121
jobs:
22+
test:
23+
uses: ./.github/workflows/test.yml
2224
dependabot:
25+
needs: test
2326
runs-on: ubuntu-latest
2427
if: ${{ github.actor == 'dependabot[bot]' }}
2528
env:
2629
PR_URL: ${{github.event.pull_request.html_url}}
2730
GITHUB_TOKEN: ${{secrets.SYNCED_GITHUB_TOKEN_REPO}}
2831
steps:
2932
- name: approve
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' }}
32-
- name: approve-instructions
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' }}
33+
run: gh pr review --approve "$PR_URL"
3534
- name: merge
3635
run: gh pr merge --auto --squash --delete-branch "$PR_URL"

0 commit comments

Comments
 (0)