Skip to content

Commit 1ba8de3

Browse files
fix: ensure grep exit code is "0" #17
1 parent 2bdd3f2 commit 1ba8de3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function convertToKeyValuePairs() {
3535
}
3636

3737
function getRunningWorkflowIds() {
38-
jq ".workflow_runs | .[] | select(.head_branch==\"${branch}\" and .head_repository.full_name==\"${repo}\" and .status==\"in_progress\" or .status==\"queued\" or .status== \"waiting\") | .id " | grep -v "${GITHUB_RUN_ID}"
38+
jq ".workflow_runs | .[] | select(.head_branch==\"${branch}\" and .head_repository.full_name==\"${repo}\" and .status==\"in_progress\" or .status==\"queued\" or .status== \"waiting\") | .id " | grep -v "${GITHUB_RUN_ID}" || :
3939
}
4040

4141
function exportAll() {

0 commit comments

Comments
 (0)