Skip to content

Commit 229647f

Browse files
committed
Add set -e to remaining scripts
1 parent fb5334d commit 229647f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/dependabot_automerge.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,12 @@ jobs:
4444
4545
- name: Approve the PR
4646
if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
47-
run: gh pr review --approve "$PR_URL"
47+
run: |
48+
set -e
49+
gh pr review --approve "$PR_URL"
4850
4951
- name: Enable auto-merge for Dependabot PRs
5052
if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
51-
run: gh pr merge --auto --merge "$PR_URL"
53+
run: |
54+
set -e
55+
gh pr merge --auto --merge "$PR_URL"

0 commit comments

Comments
 (0)