Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
ci: Fix integration test pipeline not starting if there were 404ing C…
Browse files Browse the repository at this point in the history
…I pipeline runs in the source branch (#6966)
  • Loading branch information
mowies committed Feb 23, 2022
1 parent 9d0ee54 commit 23c4c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:
-H "Authorization: token $GITHUB_TOKEN" \
"api.github.com/repos/$REPO_SLUG/actions/workflows/CI.yml/runs?branch=$BRANCH" | \
jq '[.workflow_runs[] | select(
(.head_commit.author.name | endswith("[bot]") | not ) and ( .conclusion == "success" )
(.head_commit != null) and (.head_commit.author.name | endswith("[bot]") | not ) and ( .conclusion == "success" )
)][0] | .id')
echo "Run ID that will be used to download artifacts from: $RUN_ID"
echo "::set-output name=RUN_ID::$RUN_ID"
Expand Down

0 comments on commit 23c4c37

Please sign in to comment.