Skip to content

Commit

Permalink
ci: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Dec 31, 2024
1 parent 4f2347b commit 93438a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/wc-create-pr-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -381,11 +381,11 @@ jobs:

- name: Test env
run: |
if [ "$TFACTION_DRIFT_ISSUE_NUMBER" != "2183" ]; then
echo "::error:: TFACTION_DRIFT_ISSUE_NUMBER is not expected" >&2
if [ -z "$TFACTION_DRIFT_ISSUE_NUMBER" ]; then
echo "::error:: TFACTION_DRIFT_ISSUE_NUMBER is not set" >&2
exit 1
fi
if [ "$TFACTION_DRIFT_ISSUE_STATE" != "CLOSED" ]; then
if [ "$TFACTION_DRIFT_ISSUE_STATE" != "OPEN" ]; then
echo "::error:: TFACTION_DRIFT_ISSUE_STATE is not expected" >&2
exit 1
fi
Expand Down

0 comments on commit 93438a9

Please sign in to comment.