From 94d8e70da8a64d76b2cc48d0f85264c443775c4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Wed, 26 Jun 2024 23:42:40 +0200 Subject: [PATCH] ci: Do we at least get the run URL? --- .github/workflows/R-CMD-check.yaml | 6 ++++++ .github/workflows/update-status/action.yml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index baf5c56..234f1b1 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -36,6 +36,12 @@ jobs: steps: - uses: actions/checkout@v4 + - run: | + 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 . + - uses: ./.github/workflows/rate-limit with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/update-status/action.yml b/.github/workflows/update-status/action.yml index e68b923..f48f8e0 100644 --- a/.github/workflows/update-status/action.yml +++ b/.github/workflows/update-status/action.yml @@ -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" \