feat(slack-workflow-notification): add tag input#351
Open
Conversation
shxjing
approved these changes
Dec 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a new tag input to the slack workflow-notification to override the sha that gets posted in the default slack messages.
This came out as we usually used this action with our prod deployments - currently the short sha in Commit is actually the the head of the branch from which the deployment workflow is triggered, however it is often desirable that this is actually the sha of the tag benign deployed.
Example: https://kongstrong.slack.com/archives/C1F8S1TS4/p1765878446308509
The Commit:2d3e4d3 is actually top of the branch, not the tag being deployed which is rather v0.3776.287: https://github.com/kong-konnect/kauth/commit/4c238c429da25406f9ed7d9cfe2e0fb16da6aaa3
Since we have tag handy, I just proposed we pass it along the action like:
and the action will resolve it.
There are three possible outcomes:
Not that the assumption here is that tag is lightweight which is dominantly what we use when tagging releases.