mirror of
https://github.com/certbot/certbot.git
synced 2026-06-10 17:20:36 -04:00
remove extra =; use github.run_id
This commit is contained in:
parent
4727d98a4d
commit
369de228bb
1 changed files with 3 additions and 3 deletions
6
.github/workflows/notify_nightly.yml
vendored
6
.github/workflows/notify_nightly.yml
vendored
|
|
@ -27,7 +27,7 @@ jobs:
|
|||
-H "Accept: application/vnd.github+json" \
|
||||
-H "X-GitHub-Api-Version: 2026-03-10" \
|
||||
"/repos/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID/timing" | jq '.run_duration_ms')
|
||||
DURATION==$(date -d@"$(("$ms" / 1000))" -u +%H:%M:%S)
|
||||
DURATION=$(date -d@"$(("$ms" / 1000))" -u +%H:%M:%S)
|
||||
echo "result=$DURATION" >> "$GITHUB_OUTPUT"
|
||||
- name: Send to mattermost
|
||||
uses: mattermost/action-mattermost-notify@b7d118e440bf2749cd18a4a8c88e7092e696257a
|
||||
|
|
@ -51,11 +51,11 @@ jobs:
|
|||
"short": true
|
||||
}
|
||||
],
|
||||
"pretext": "Run <https://github.com/certbot/actions/runs/$GITHUB_RUN_ID|$GITHUB_RUN_ID> failed",
|
||||
"pretext": "Run <https://github.com/certbot/actions/runs/${{ github.run_id }}|"${{ github.run_id }}"> failed",
|
||||
"mrkdwn_in": [
|
||||
"pretext"
|
||||
],
|
||||
"fallback": "Run $GITHUB_RUN_ID failed https://github.com/certbot/actions/runs/$GITHUB_RUN_ID"
|
||||
"fallback": "Run ${{ github.run_id }} failed https://github.com/certbot/actions/runs/${{ github.run_id }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue