Skip to content

Commit

Permalink
chore(deps): update slackapi/slack-github-action action to v1.26.0 (#14)
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 | OpenSSF |
|---|---|---|---|---|
|
[slackapi/slack-github-action](https://github.com/slackapi/slack-github-action)
| action | minor | `v1.25.0` -> `v1.26.0` | [![OpenSSF
Scorecard](https://api.securityscorecards.dev/projects/github.com/slackapi/slack-github-action/badge)](https://securityscorecards.dev/viewer/?uri=github.com/slackapi/slack-github-action)
|

---

### Release Notes

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

###
[`v1.26.0`](https://github.com/slackapi/slack-github-action/releases/tag/v1.26.0):
Slack Send V1.26.0

[Compare
Source](https://github.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://github.com/talgendler) in
[https://github.com/slackapi/slack-github-action/pull/299](https://github.com/slackapi/slack-github-action/pull/299)

##### Documentation

- docs(readme): adjust whitespace in env assignment by
[@&#8203;paulo9mv](https://github.com/paulo9mv) in
[https://github.com/slackapi/slack-github-action/pull/296](https://github.com/slackapi/slack-github-action/pull/296)

##### Maintenance

- ci(test): collect environment secrets from a prepared staging
environment by [@&#8203;zimeg](https://github.com/zimeg) in
[https://github.com/slackapi/slack-github-action/pull/294](https://github.com/slackapi/slack-github-action/pull/294)
- ci(test): share environment secrets with pull requests from forked prs
by [@&#8203;zimeg](https://github.com/zimeg) in
[https://github.com/slackapi/slack-github-action/pull/297](https://github.com/slackapi/slack-github-action/pull/297)

##### Dependencies

- Bump eslint-plugin-jsdoc from 46.10.1 to 48.2.1 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/slackapi/slack-github-action/pull/295](https://github.com/slackapi/slack-github-action/pull/295)
- Bump eslint from 8.56.0 to 8.57.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/slackapi/slack-github-action/pull/289](https://github.com/slackapi/slack-github-action/pull/289)
- Bump mocha from 10.2.0 to 10.3.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/slackapi/slack-github-action/pull/288](https://github.com/slackapi/slack-github-action/pull/288)
- Bump https-proxy-agent from 7.0.2 to 7.0.4 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/slackapi/slack-github-action/pull/290](https://github.com/slackapi/slack-github-action/pull/290)
- Bump [@&#8203;slack/web-api](https://github.com/slack/web-api) from
6.12.0 to 7.0.2 by [@&#8203;dependabot](https://github.com/dependabot)
in
[https://github.com/slackapi/slack-github-action/pull/287](https://github.com/slackapi/slack-github-action/pull/287)
- Bump mocha from 10.3.0 to 10.4.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/slackapi/slack-github-action/pull/300](https://github.com/slackapi/slack-github-action/pull/300)
- Bump axios from 1.6.7 to 1.6.8 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/slackapi/slack-github-action/pull/301](https://github.com/slackapi/slack-github-action/pull/301)
- Bump eslint-plugin-jsdoc from 48.2.1 to 48.2.2 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/slackapi/slack-github-action/pull/302](https://github.com/slackapi/slack-github-action/pull/302)

#### New Contributors

- [@&#8203;paulo9mv](https://github.com/paulo9mv) made their first
contribution in
[https://github.com/slackapi/slack-github-action/pull/296](https://github.com/slackapi/slack-github-action/pull/296)
- [@&#8203;talgendler](https://github.com/talgendler) made their first
contribution in
[https://github.com/slackapi/slack-github-action/pull/299](https://github.com/slackapi/slack-github-action/pull/299)

**Full Changelog**:
slackapi/slack-github-action@v1.25.0...v1.26.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 10pm every weekday,before 5am
every weekday,every weekend" (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Enabled.

♻ **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/settlemint/btp-docs).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Apr 19, 2024
1 parent 9b4f712 commit d4cc6d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
steps:
- name: Send GitHub Action trigger data to Slack workflow with reviewers
if: ${{ tojson(github.event.pull_request.requested_reviewers) != '[]' && !github.event.pull_request.draft }}
uses: slackapi/slack-github-action@v1.25.0
uses: slackapi/slack-github-action@v1.26.0
env:
SLACK_WEBHOOK_URL: ${{ secrets.PR_SLACK_WEBHOOK_URL }}
with:
Expand All @@ -37,7 +37,7 @@ jobs:
}
- name: Send GitHub Action trigger data to Slack workflow without reviewers
if: ${{ !github.event.pull_request.draft }}
uses: slackapi/slack-github-action@v1.25.0
uses: slackapi/slack-github-action@v1.26.0
env:
SLACK_WEBHOOK_URL: ${{ secrets.PR_SLACK_WEBHOOK_URL }}
with:
Expand Down

0 comments on commit d4cc6d3

Please sign in to comment.