Skip to content

Commit bed6e0b

Browse files
committed
Use major version ref of Slack notification action
At the time the workflow was written the authors of the `rtCamp/action-slack-notify` GitHub Actions action did not provide a major version ref. This meant that it was necessary to pin the action to a specific version. Since then, a few new releases have been made, meaning an outdated version of the action was in use as a consequence of the pinning. The action now offers a `v2` major ref. Use of this ref will cause the workflow to benefit from ongoing development to the action up until such time as a new major release is made, at which time we would need to evaluate whether any changes to the workflow are required by the breaking change that triggered the major release before updating the major ref (e.g., `uses: rtCamp/action-slack-notify@v3`).
1 parent 302f010 commit bed6e0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .github/workflows/check-certificates.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
:warning::warning::warning::warning:
7575
SLACK_COLOR: danger
7676
MSG_MINIMAL: true
77-
uses: rtCamp/action-slack-notify@v2.1.0
77+
uses: rtCamp/action-slack-notify@v2
7878

7979
- name: Get days remaining before certificate expiration date
8080
env:
@@ -128,4 +128,4 @@ jobs:
128128
:warning::warning::warning::warning:
129129
SLACK_COLOR: danger
130130
MSG_MINIMAL: true
131-
uses: rtCamp/action-slack-notify@v2.1.0
131+
uses: rtCamp/action-slack-notify@v2

0 commit comments

Comments
 (0)