slackapi/slack-github-action (slackapi/slack-github-action)
### [`v1.26.0`](https://togithub.com/slackapi/slack-github-action/releases/tag/v1.26.0): Slack Send V1.26.0
[Compare Source](https://togithub.com/slackapi/slack-github-action/compare/v1.25.0...v1.26.0)
#### 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.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`:
```yaml
- name: Send custom JSON data to Slack workflow
id: slack
uses: slackapi/slack-github-action@v1.26.0
with:
payload-file-path: "./payload-slack-content.json"
payload-file-path-parsed: false
env:
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](https://togithub.com/talgendler) in [https://github.com/slackapi/slack-github-action/pull/299](https://togithub.com/slackapi/slack-github-action/pull/299)
##### Documentation
- docs(readme): adjust whitespace in env assignment by [@paulo9mv](https://togithub.com/paulo9mv) in [https://github.com/slackapi/slack-github-action/pull/296](https://togithub.com/slackapi/slack-github-action/pull/296)
##### Maintenance
- ci(test): collect environment secrets from a prepared staging environment by [@zimeg](https://togithub.com/zimeg) in [https://github.com/slackapi/slack-github-action/pull/294](https://togithub.com/slackapi/slack-github-action/pull/294)
- ci(test): share environment secrets with pull requests from forked prs by [@zimeg](https://togithub.com/zimeg) in [https://github.com/slackapi/slack-github-action/pull/297](https://togithub.com/slackapi/slack-github-action/pull/297)
##### Dependencies
- Bump eslint-plugin-jsdoc from 46.10.1 to 48.2.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/slackapi/slack-github-action/pull/295](https://togithub.com/slackapi/slack-github-action/pull/295)
- Bump eslint from 8.56.0 to 8.57.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/slackapi/slack-github-action/pull/289](https://togithub.com/slackapi/slack-github-action/pull/289)
- Bump mocha from 10.2.0 to 10.3.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/slackapi/slack-github-action/pull/288](https://togithub.com/slackapi/slack-github-action/pull/288)
- Bump https-proxy-agent from 7.0.2 to 7.0.4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/slackapi/slack-github-action/pull/290](https://togithub.com/slackapi/slack-github-action/pull/290)
- Bump [@slack/web-api](https://togithub.com/slack/web-api) from 6.12.0 to 7.0.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/slackapi/slack-github-action/pull/287](https://togithub.com/slackapi/slack-github-action/pull/287)
- Bump mocha from 10.3.0 to 10.4.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/slackapi/slack-github-action/pull/300](https://togithub.com/slackapi/slack-github-action/pull/300)
- Bump axios from 1.6.7 to 1.6.8 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/slackapi/slack-github-action/pull/301](https://togithub.com/slackapi/slack-github-action/pull/301)
- Bump eslint-plugin-jsdoc from 48.2.1 to 48.2.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/slackapi/slack-github-action/pull/302](https://togithub.com/slackapi/slack-github-action/pull/302)
#### New Contributors
- [@paulo9mv](https://togithub.com/paulo9mv) made their first contribution in [https://github.com/slackapi/slack-github-action/pull/296](https://togithub.com/slackapi/slack-github-action/pull/296)
- [@talgendler](https://togithub.com/talgendler) made their first contribution in [https://github.com/slackapi/slack-github-action/pull/299](https://togithub.com/slackapi/slack-github-action/pull/299)
**Full Changelog**: https://github.com/slackapi/slack-github-action/compare/v1.25.0...v1.26.0
### [`v1.25.0`](https://togithub.com/slackapi/slack-github-action/releases/tag/v1.25.0): Slack Send V1.25.0
[Compare Source](https://togithub.com/slackapi/slack-github-action/compare/v1.24.0...v1.25.0)
##### What's Changed
- Update payload integration test to escape invalid characters by [@hello-ashleyintech](https://togithub.com/hello-ashleyintech) in [https://github.com/slackapi/slack-github-action/pull/207](https://togithub.com/slackapi/slack-github-action/pull/207)
- [#204](https://togithub.com/slackapi/slack-github-action/issues/204): Handle proxies when using Slack WebClient by [@raihle](https://togithub.com/raihle) in [https://github.com/slackapi/slack-github-action/pull/205](https://togithub.com/slackapi/slack-github-action/pull/205)
- README: clarify limitations to workflow builder approach by [@ryan-williams](https://togithub.com/ryan-williams) in [https://github.com/slackapi/slack-github-action/pull/228](https://togithub.com/slackapi/slack-github-action/pull/228)
- Add instructions for developing with a local version of the action by [@zimeg](https://togithub.com/zimeg) in [https://github.com/slackapi/slack-github-action/pull/250](https://togithub.com/slackapi/slack-github-action/pull/250)
- Pass secrets to approved workflow jobs by [@zimeg](https://togithub.com/zimeg) in [https://github.com/slackapi/slack-github-action/pull/258](https://togithub.com/slackapi/slack-github-action/pull/258)
- build(node): bump the runtime version to node 20 by [@zimeg](https://togithub.com/zimeg) in [https://github.com/slackapi/slack-github-action/pull/267](https://togithub.com/slackapi/slack-github-action/pull/267)
- ci(security): require access checks to pass before running unit tests by [@zimeg](https://togithub.com/zimeg) in [https://github.com/slackapi/slack-github-action/pull/279](https://togithub.com/slackapi/slack-github-action/pull/279)
- ci(security): check for pull_request_target events in the access check by [@zimeg](https://togithub.com/zimeg) in [https://github.com/slackapi/slack-github-action/pull/282](https://togithub.com/slackapi/slack-github-action/pull/282)
##### New Contributors
- [@raihle](https://togithub.com/raihle) made their first contribution in [https://github.com/slackapi/slack-github-action/pull/205](https://togithub.com/slackapi/slack-github-action/pull/205)
- [@ryan-williams](https://togithub.com/ryan-williams) made their first contribution in [https://github.com/slackapi/slack-github-action/pull/228](https://togithub.com/slackapi/slack-github-action/pull/228)
- [@zimeg](https://togithub.com/zimeg) made their first contribution in [https://github.com/slackapi/slack-github-action/pull/250](https://togithub.com/slackapi/slack-github-action/pull/250)
**Full Changelog**: https://github.com/slackapi/slack-github-action/compare/v1.24.0...v1.25.0
Configuration
π Schedule: Branch creation - "before 07:00 on Thursday" in timezone Europe/Oslo, 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 this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v1.24.0
->v1.26.0
Release Notes
slackapi/slack-github-action (slackapi/slack-github-action)
### [`v1.26.0`](https://togithub.com/slackapi/slack-github-action/releases/tag/v1.26.0): Slack Send V1.26.0 [Compare Source](https://togithub.com/slackapi/slack-github-action/compare/v1.25.0...v1.26.0) #### 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.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`: ```yaml - name: Send custom JSON data to Slack workflow id: slack uses: slackapi/slack-github-action@v1.26.0 with: payload-file-path: "./payload-slack-content.json" payload-file-path-parsed: false env: 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](https://togithub.com/talgendler) in [https://github.com/slackapi/slack-github-action/pull/299](https://togithub.com/slackapi/slack-github-action/pull/299) ##### Documentation - docs(readme): adjust whitespace in env assignment by [@paulo9mv](https://togithub.com/paulo9mv) in [https://github.com/slackapi/slack-github-action/pull/296](https://togithub.com/slackapi/slack-github-action/pull/296) ##### Maintenance - ci(test): collect environment secrets from a prepared staging environment by [@zimeg](https://togithub.com/zimeg) in [https://github.com/slackapi/slack-github-action/pull/294](https://togithub.com/slackapi/slack-github-action/pull/294) - ci(test): share environment secrets with pull requests from forked prs by [@zimeg](https://togithub.com/zimeg) in [https://github.com/slackapi/slack-github-action/pull/297](https://togithub.com/slackapi/slack-github-action/pull/297) ##### Dependencies - Bump eslint-plugin-jsdoc from 46.10.1 to 48.2.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/slackapi/slack-github-action/pull/295](https://togithub.com/slackapi/slack-github-action/pull/295) - Bump eslint from 8.56.0 to 8.57.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/slackapi/slack-github-action/pull/289](https://togithub.com/slackapi/slack-github-action/pull/289) - Bump mocha from 10.2.0 to 10.3.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/slackapi/slack-github-action/pull/288](https://togithub.com/slackapi/slack-github-action/pull/288) - Bump https-proxy-agent from 7.0.2 to 7.0.4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/slackapi/slack-github-action/pull/290](https://togithub.com/slackapi/slack-github-action/pull/290) - Bump [@slack/web-api](https://togithub.com/slack/web-api) from 6.12.0 to 7.0.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/slackapi/slack-github-action/pull/287](https://togithub.com/slackapi/slack-github-action/pull/287) - Bump mocha from 10.3.0 to 10.4.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/slackapi/slack-github-action/pull/300](https://togithub.com/slackapi/slack-github-action/pull/300) - Bump axios from 1.6.7 to 1.6.8 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/slackapi/slack-github-action/pull/301](https://togithub.com/slackapi/slack-github-action/pull/301) - Bump eslint-plugin-jsdoc from 48.2.1 to 48.2.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/slackapi/slack-github-action/pull/302](https://togithub.com/slackapi/slack-github-action/pull/302) #### New Contributors - [@paulo9mv](https://togithub.com/paulo9mv) made their first contribution in [https://github.com/slackapi/slack-github-action/pull/296](https://togithub.com/slackapi/slack-github-action/pull/296) - [@talgendler](https://togithub.com/talgendler) made their first contribution in [https://github.com/slackapi/slack-github-action/pull/299](https://togithub.com/slackapi/slack-github-action/pull/299) **Full Changelog**: https://github.com/slackapi/slack-github-action/compare/v1.25.0...v1.26.0 ### [`v1.25.0`](https://togithub.com/slackapi/slack-github-action/releases/tag/v1.25.0): Slack Send V1.25.0 [Compare Source](https://togithub.com/slackapi/slack-github-action/compare/v1.24.0...v1.25.0) ##### What's Changed - Update payload integration test to escape invalid characters by [@hello-ashleyintech](https://togithub.com/hello-ashleyintech) in [https://github.com/slackapi/slack-github-action/pull/207](https://togithub.com/slackapi/slack-github-action/pull/207) - [#204](https://togithub.com/slackapi/slack-github-action/issues/204): Handle proxies when using Slack WebClient by [@raihle](https://togithub.com/raihle) in [https://github.com/slackapi/slack-github-action/pull/205](https://togithub.com/slackapi/slack-github-action/pull/205) - README: clarify limitations to workflow builder approach by [@ryan-williams](https://togithub.com/ryan-williams) in [https://github.com/slackapi/slack-github-action/pull/228](https://togithub.com/slackapi/slack-github-action/pull/228) - Add instructions for developing with a local version of the action by [@zimeg](https://togithub.com/zimeg) in [https://github.com/slackapi/slack-github-action/pull/250](https://togithub.com/slackapi/slack-github-action/pull/250) - Pass secrets to approved workflow jobs by [@zimeg](https://togithub.com/zimeg) in [https://github.com/slackapi/slack-github-action/pull/258](https://togithub.com/slackapi/slack-github-action/pull/258) - build(node): bump the runtime version to node 20 by [@zimeg](https://togithub.com/zimeg) in [https://github.com/slackapi/slack-github-action/pull/267](https://togithub.com/slackapi/slack-github-action/pull/267) - ci(security): require access checks to pass before running unit tests by [@zimeg](https://togithub.com/zimeg) in [https://github.com/slackapi/slack-github-action/pull/279](https://togithub.com/slackapi/slack-github-action/pull/279) - ci(security): check for pull_request_target events in the access check by [@zimeg](https://togithub.com/zimeg) in [https://github.com/slackapi/slack-github-action/pull/282](https://togithub.com/slackapi/slack-github-action/pull/282) ##### New Contributors - [@raihle](https://togithub.com/raihle) made their first contribution in [https://github.com/slackapi/slack-github-action/pull/205](https://togithub.com/slackapi/slack-github-action/pull/205) - [@ryan-williams](https://togithub.com/ryan-williams) made their first contribution in [https://github.com/slackapi/slack-github-action/pull/228](https://togithub.com/slackapi/slack-github-action/pull/228) - [@zimeg](https://togithub.com/zimeg) made their first contribution in [https://github.com/slackapi/slack-github-action/pull/250](https://togithub.com/slackapi/slack-github-action/pull/250) **Full Changelog**: https://github.com/slackapi/slack-github-action/compare/v1.24.0...v1.25.0Configuration
π Schedule: Branch creation - "before 07:00 on Thursday" in timezone Europe/Oslo, 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 this update again.
This PR has been generated by Mend Renovate. View repository job log here.