Skip to content

Commit 5d23e46

Browse files
authored
ci: fix workflow id in nightly slack message (#1736)
1 parent 8c5cbdc commit 5d23e46

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/nightly.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,14 @@ jobs:
6363
"type": "section",
6464
"text": {
6565
"type": "mrkdwn",
66-
"text": "'"Nightly workflow failed: <https://github.com/scaleway/terraform-provider-scaleway/actions/runs/${GITHUB_WORKFLOW_ID}|${FAILED_PRODUCT}>"'"
66+
"text": "'"Nightly workflow failed: <https://github.com/scaleway/terraform-provider-scaleway/actions/runs/${GITHUB_RUN_ID}|${FAILED_PRODUCT}>"'"
6767
}
6868
}
6969
]
7070
}' \
7171
${SLACK_WEBHOOK_NIGHTLY};
72-
done
7372
env:
7473
SLACK_WEBHOOK_NIGHTLY: ${{ secrets.SLACK_WEBHOOK_NIGHTLY }}
75-
GITHUB_WORKFLOW_ID: ${{ github.run.id }}
7674
FAILED_PRODUCT: ${{ matrix.products }}
7775

7876
# sweeper needs to run after nightly completed

0 commit comments

Comments
 (0)