Fix strings not interpolating in weely ci run (#12906)
# Objective Fix invalid links in weekly CI workflow. ## Solution Replace env vars with direct evaluation.
This commit is contained in:
parent
de3ec47f3f
commit
627ad6d2cc
5
.github/workflows/weekly.yml
vendored
5
.github/workflows/weekly.yml
vendored
@ -90,7 +90,7 @@ jobs:
|
|||||||
--jq '.[0].number')
|
--jq '.[0].number')
|
||||||
if [[ -n $previous_issue_number ]]; then
|
if [[ -n $previous_issue_number ]]; then
|
||||||
gh issue comment $previous_issue_number \
|
gh issue comment $previous_issue_number \
|
||||||
--body "Weekly pipeline still fails: $FAILED_RUN"
|
--body "Weekly pipeline still fails: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
|
||||||
else
|
else
|
||||||
gh issue create \
|
gh issue create \
|
||||||
--title "$TITLE" \
|
--title "$TITLE" \
|
||||||
@ -102,7 +102,6 @@ jobs:
|
|||||||
GH_REPO: ${{ github.repository }}
|
GH_REPO: ${{ github.repository }}
|
||||||
TITLE: Main branch fails to compile on Rust beta.
|
TITLE: Main branch fails to compile on Rust beta.
|
||||||
LABELS: C-Bug,S-Needs-Triage
|
LABELS: C-Bug,S-Needs-Triage
|
||||||
FAILED_RUN: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
|
||||||
BODY: |
|
BODY: |
|
||||||
## Weekly CI run has failed.
|
## Weekly CI run has failed.
|
||||||
[The offending run.]($FAILED_RUN)
|
[The offending run.](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
|
||||||
|
Loading…
Reference in New Issue
Block a user