Skip to content

Commit

Permalink
ci: Do we at least get the run URL?
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Jun 26, 2024
1 parent 4c2d834 commit 463274e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- run: |
env | sort
GH_TOKEN=${{ github.token }} gh api \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/${{ github.repository }}/actions/runs/${{ github.run_id }} | jq .html_url
- uses: ./.github/workflows/rate-limit
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-status/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ runs:
gh api \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs
/repos/${{ github.repository }}/actions/runs/${{ github.run_id }} | jq .
# html_url=$(gh api \
# -H "Accept: application/vnd.github+json" \
Expand Down

0 comments on commit 463274e

Please sign in to comment.