Skip to content

Commit

Permalink
Update slackapi/slack-github-action action to v1.26.0 (#63)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[slackapi/slack-github-action](https://togithub.com/slackapi/slack-github-action)
| action | minor | `v1.25.0` -> `v1.26.0` |

---

### Release Notes

<details>
<summary>slackapi/slack-github-action
(slackapi/slack-github-action)</summary>

###
[`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
[@&#8203;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
[@&#8203;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 [@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;slack/web-api](https://togithub.com/slack/web-api) from
6.12.0 to 7.0.2 by [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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

- [@&#8203;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)
- [@&#8203;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**:
slackapi/slack-github-action@v1.25.0...v1.26.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone
America/Chicago, 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/autoblocksai/cli).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMyMS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Apr 29, 2024
1 parent 17f7c04 commit d525e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: slackapi/slack-github-action@v1.25.0
- uses: slackapi/slack-github-action@v1.26.0
with:
payload: |
{
Expand Down

0 comments on commit d525e87

Please sign in to comment.