Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark2000 committed Sep 30, 2024
1 parent d5cb430 commit 66881a3
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/commit_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ jobs:
- name: Find artifact run
run: |
sudo apt-get install jq
export RUN_ID=$( \
curl -L \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/AVSLab/basilisk/actions/runs?status=completed&per_page=100" \
| jq -r '.workflow_runs[] | select(.name == "Pull Request Closed") | .id' | head -n 1 \
)
export RUN_ID=$(
curl -L \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/AVSLab/basilisk/actions/runs?status=completed&per_page=100" |
jq -r '.workflow_runs[] | select(.name == "Pull Request Closed") | .id' |
head -n 1
)
echo "RUN_ID=$RUN_ID" >> $GITHUB_ENV
- name: Pull artifacts
uses: actions/download-artifact@v4
Expand Down

0 comments on commit 66881a3

Please sign in to comment.