You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
This release tags multiple updates to dependencies and a clarification in documentation 📚
No changes are needed to update from slackapi/[email protected] - other than bumping the version - but ongoing development is now happening on version @v2 and @v1 is no longer planning to receive significant updates after this.
Please stay tuned for upcoming changes, and may all of your workflows run well ❤️
📚 Documentation
docs(fix): reference octokit context and github event webhook payloads in variables in #348 - thanks @zimeg!
🧪 Maintenance
ci: include the slack health score as part of ci tests in #346 - thanks @zimeg!
📦 Dependencies
build(deps): bump axios from 1.7.5 to 1.7.7 in #334 - thanks @dependabot!
build(deps-dev): bump mocha from 10.7.0 to 10.7.3 in #335 - thanks @dependabot!
build(deps-dev): bump eslint-plugin-jsdoc from 48.10.2 to 50.2.2 in #336 - thanks @dependabot!
This release introduces an optional payload-delimiter parameter for flattening nested objects with a customized delimiter before the payload is sent to Slack Workflow Builder when using workflow webhook triggers.
Setting this value to an underscore (_) is recommended when using nested inputs within Workflow Builder to match expected input formats of Workflow Builder, but the actual value can be changed to something else! This "flattening" behavior did exist prior to this version, but used a period (.) which is not valid for webook inputs in Workflow Builder.
Flattening example
The resulting output of flattened objects is not always clear, but the following can hopefully serve as a quick reference as well as these specs when using _ as the delimiter:
Notice that bananas_truthiness is also stringified in this process, as part of updating values to match the expected inputs of Workflow Builder!
Changes
In addition to the changes above, the following lists all of the changes since the prior version with the complete changelog changes found here: slackapi/slack-github-action@v1.26.0...v1.27.0
🎁 Enhancements
Make payload delimiter configurable in #281 - thanks @rzumer!
This release provides an escape hatch for sending the JSON content of a payload file exactly as is, without replacing any templated variables!
Previously a payload file was parsed and templated variables were replaced with values from github.context and github.env. Any undefined variables were replaced with ??? in this process, which might have caused questions.
That remains the default behavior, but now the JSON contents of a payload file can be sent exactly as written by setting the payload-file-path-parsed input to false:
- name: Send custom JSON data to Slack workflowid: slackuses: slackapi/[email protected]with:
payload-file-path: "./payload-slack-content.json"payload-file-path-parsed: falseenv:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
With this change, the contents of the example payload-slack-content.json will be sent to a webhook URL exactly as is!
Recent commits
Enhancements
allow to use json file as is without replacing/parsing anything by @talgendler in #299
Documentation
docs(readme): adjust whitespace in env assignment by @paulo9mv in #296
Maintenance
ci(test): collect environment secrets from a prepared staging environment by @zimeg in #294
ci(test): share environment secrets with pull requests from forked prs by @zimeg in #297
Dependencies
Bump eslint-plugin-jsdoc from 46.10.1 to 48.2.1 by @dependabot in #295
renovatebot
changed the title
chore(deps): update slackapi/slack-github-action action to v1.27.0
chore(deps): update slackapi/slack-github-action action to v1.27.1
Nov 14, 2024
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.
This PR contains the following updates:
v1.23.0->v1.27.1v1.21.0->v1.27.1Release Notes
slackapi/slack-github-action (slackapi/slack-github-action)
v1.27.1: Slack Send V1.27.1Compare Source
What's changed
This release tags multiple updates to dependencies and a clarification in documentation 📚
No changes are needed to update from
slackapi/[email protected]- other than bumping the version - but ongoing development is now happening on version@v2and@v1is no longer planning to receive significant updates after this.Please stay tuned for upcoming changes, and may all of your workflows run well ❤️
📚 Documentation
🧪 Maintenance
📦 Dependencies
Full Changelog: slackapi/slack-github-action@v1.27.0...v1.27.1
v1.27.0: Slack Send V1.27.0Compare Source
What's changed
This release introduces an optional
payload-delimiterparameter for flattening nested objects with a customized delimiter before the payload is sent to Slack Workflow Builder when using workflow webhook triggers.- name: Send a custom flattened payload uses: slackapi/[email protected] + with: + payload-delimiter: "_" env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}Setting this value to an underscore (
_) is recommended when using nested inputs within Workflow Builder to match expected input formats of Workflow Builder, but the actual value can be changed to something else! This "flattening" behavior did exist prior to this version, but used a period (.) which is not valid for webook inputs in Workflow Builder.Flattening example
The resulting output of flattened objects is not always clear, but the following can hopefully serve as a quick reference as well as these specs when using
_as the delimiter:Input:
{ "apples": "tree", "bananas": { "truthiness": true } }Output:
{ "apples": "tree", "bananas_truthiness": "true" }Notice that
bananas_truthinessis also stringified in this process, as part of updating values to match the expected inputs of Workflow Builder!Changes
In addition to the changes above, the following lists all of the changes since the prior version with the complete changelog changes found here: slackapi/slack-github-action@v1.26.0...v1.27.0
🎁 Enhancements
📚 Documentation
🔒 Security
🧪 Maintenance
📦 Dependencies
🎉 New contributors
v1.26.0: Slack Send V1.26.0Compare Source
What's Changed
This release provides an escape hatch for sending the JSON content of a payload file exactly as is, without replacing any templated variables!
Previously a payload file was parsed and templated variables were replaced with values from
github.contextandgithub.env. Any undefined variables were replaced with???in this process, which might have caused questions.That remains the default behavior, but now the JSON contents of a payload file can be sent exactly as written by setting the
payload-file-path-parsedinput tofalse:With this change, the contents of the example
payload-slack-content.jsonwill be sent to a webhook URL exactly as is!Recent commits
Enhancements
Documentation
Maintenance
Dependencies
New Contributors
Full Changelog: slackapi/slack-github-action@v1.25.0...v1.26.0
v1.25.0: Slack Send V1.25.0Compare Source
What's Changed
New Contributors
Full Changelog: slackapi/slack-github-action@v1.24.0...v1.25.0
v1.24.0: Slack Send V1.24.0Compare Source
What's Changed
New Contributors
Full Changelog: slackapi/slack-github-action@v1.23.0...v1.24.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.