Skip to content

Commit

Permalink
raise error if cleanup.sh failed
Browse files Browse the repository at this point in the history
  • Loading branch information
ShotaKitazawa committed Aug 18, 2024
1 parent 4dfe79a commit 61c0722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/reviewapp-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
PREFIX: dk-
shell: bash -x {0}
shell: bash -xe {0}
run: |
EXPECTED="$(gh pr list --repo ${{ github.repository }} --label 'reviewapps' --json number --jq '.[].number' | sed 's/^\(.*\)$/'$PREFIX'\1/g')"
ACTUAL="$(ls | grep -E ^$PREFIX)"
Expand Down

0 comments on commit 61c0722

Please sign in to comment.