Skip to content

Commit

Permalink
Relaxed the search criteria for successful CI runs
Browse files Browse the repository at this point in the history
  • Loading branch information
ssun30 committed Oct 2, 2024
1 parent 5a03a24 commit ce3e15d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# this will search for the last successful execution of CI on main
run: |
run_id=$(gh run list -R ReactionMechanismGenerator/RMG-Py --workflow="Continuous Integration" --branch main --limit 5 --json databaseId,conclusion --jq 'map(select(.conclusion == "success")) | .[0].databaseId')
run_id=$(gh run list -R ReactionMechanismGenerator/RMG-Py --workflow="Continuous Integration" --branch main --limit 15 --json databaseId,conclusion --jq 'map(select(.conclusion == "success")) | .[0].databaseId')
echo "CI_RUN_ID=$run_id" >> $GITHUB_ENV
- name: Retrieve Stable Regression Results
Expand Down

0 comments on commit ce3e15d

Please sign in to comment.