Skip to content

Commit

Permalink
Merge pull request #1624 from nerdalert/promote-bug-fix
Browse files Browse the repository at this point in the history
Fix the workflow name from the testing fork to upstream in promote
  • Loading branch information
russellb authored Nov 9, 2023
2 parents 927a9f8 + 7007b20 commit b2510f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
check_status() {
runs=$(curl -s -H "Authorization: token ${{secrets.GITHUB_TOKEN}}" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/${{github.repository}}/actions/workflows/deploy-qa-test.yml/runs?per_page=10")
"https://api.github.com/repos/${{github.repository}}/actions/workflows/qa-dev.yml/runs?per_page=10")
latest_run=$(echo "$runs" | jq -r --arg timestamp "$current_time" \
'.workflow_runs[] | select(.created_at >= $timestamp) | .')
Expand All @@ -51,7 +51,7 @@ jobs:
if [[ "$status" == "completed" && "$conclusion" == "success" ]]; then
return 0
elif [[ "$status" == "completed" && "$conclusion" != "success" ]]; then
echo "qa-dev workflow failed. For details, see https://github.com/nerdalert/apex-qa/actions/workflows/deploy-qa-test.yml"
echo "qa-dev workflow failed. For details, see https://github.com/nexodus-io/nexodus/actions/workflows/qa-dev.yml"
exit 1
else
return 1
Expand Down

0 comments on commit b2510f5

Please sign in to comment.