From 369de228bb4358f0a135a7d0377d141851ed6f5a Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Tue, 12 May 2026 11:27:55 -0700 Subject: [PATCH] remove extra =; use github.run_id --- .github/workflows/notify_nightly.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/notify_nightly.yml b/.github/workflows/notify_nightly.yml index 7ba45600a..0e1c36410 100644 --- a/.github/workflows/notify_nightly.yml +++ b/.github/workflows/notify_nightly.yml @@ -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 failed", + "pretext": "Run 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 }}" } ] }