Skip to content

Commit 32fdc97

Browse files
chore: fix a typo in release gate (#1788)
1 parent d1052d4 commit 32fdc97

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release-gate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ jobs:
101101
DEPLOYMENT=$(gh api \
102102
"repos/${{ github.repository }}/deployments" \
103103
-F environment="$ENV" \
104-
-F per_page=50 \
105-
--jq --arg commit_time "$COMMIT_TIMESTAMP" --arg branch "$BRANCH" \
104+
-F per_page=50 | \
105+
jq --arg commit_time "$COMMIT_TIMESTAMP" --arg branch "$BRANCH" \
106106
'map(select(.created_at > $commit_time and .ref == $branch)) | sort_by(.created_at) | reverse | .[0]')
107107
108108
if [[ -z "$DEPLOYMENT" || "$DEPLOYMENT" == "null" ]]; then

0 commit comments

Comments
 (0)