Skip to content

Commit 8acd69c

Browse files
committed
Update Dependabot alert workflow to ensure auto-merge only occurs after issue creation for high critical alerts.
1 parent 1eb73c7 commit 8acd69c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/dependabot_alert_issues.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ jobs:
101101
102102
auto_merge_dependabot:
103103
runs-on: ubuntu-latest
104-
if: github.event.pull_request.user.login == 'dependabot[bot]' || contains(github.event.pull_request.labels.*.name, 'auto-merge-test')
104+
needs: create_issue_for_high_critical
105+
if: github.event.pull_request.user.login == 'dependabot[bot]'
105106

106107
permissions:
107108
contents: write

0 commit comments

Comments
 (0)