increments / qiita-discussions

Discussion of opinions and requests for qiita.com
https://qiita.com
85 stars 4 forks source link

Bump slackapi/slack-github-action from 1.25.0 to 1.26.0 #730

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Bumps slackapi/slack-github-action from 1.25.0 to 1.26.0.

Release notes

Sourced from slackapi/slack-github-action's releases.

Slack Send 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:

- 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

Documentation

Maintenance

Dependencies

New Contributors

... (truncated)

Commits
  • 70cd7be Automatic compilation
  • 53b162f chore(release): tag release v1.26.0
  • 47d8e42 feat: introduce an option to send payload file json without replacing variabl...
  • d447374 Bump eslint-plugin-jsdoc from 48.2.1 to 48.2.2 (#302)
  • b638b31 Bump axios from 1.6.7 to 1.6.8 (#301)
  • c76311a Bump mocha from 10.3.0 to 10.4.0 (#300)
  • d4358d2 docs(readme): adjust whitespace in env assignment (#296)
  • cb3763e ci(test): share environment secrets with pull requests from forked prs (#297)
  • 86bebf8 Bump @​slack/web-api from 6.12.0 to 7.0.2 (#287)
  • efa31bf Bump https-proxy-agent from 7.0.2 to 7.0.4 (#290)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
kimkim0814 commented 6 months ago

What is slackapi/slack-github-action

This is a GitHub Action for sending messages from GitHub Actions to Slack. This allows you to send notifications directly to Slack from your GitHub workflows.

ref:https://github.com/slackapi/slack-github-action


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:

ref:https://github.com/slackapi/slack-github-action/releases/tag/v1.26.0