Skip to content

Commit

Permalink
Bump slackapi/slack-github-action from 1.24.0 to 2.0.0 (#1174)
Browse files Browse the repository at this point in the history
* Bump slackapi/slack-github-action from 1.24.0 to 2.0.0

Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.24.0 to 2.0.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](slackapi/slack-github-action@e28cf16...485a9d4)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update usage of slack-github-action to match new API

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>
  • Loading branch information
dependabot[bot] and triffer authored Dec 9, 2024
1 parent 045f096 commit 2b18364
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
11 changes: 5 additions & 6 deletions .github/actions/slack-notification-failed-workflow/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ runs:
- name: Notify
uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v1.24.0
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
webhook-type: webhook-trigger
payload-templated: true
payload: |
{
"repository": "${{ github.repository }}",
"workflow": "${{ github.workflow }}"
}
env:
SLACK_WEBHOOK_URL: ${{ inputs.SLACK_WEBHOOK_URL }}
repository: ${{ github.repository }},
workflow: ${{ github.workflow }}
13 changes: 6 additions & 7 deletions .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,11 @@ jobs:
if: success()
steps:
- name: Notify
uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v1.24.0
uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0
with:
webhook: ${{ secrets.SLACK_RELEASE_WEBHOOK }}
webhook-type: webhook-trigger
payload-templated: true
payload: |
{
"repository": "${{ github.repository }}",
"release": "${{ inputs.name }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_RELEASE_WEBHOOK }}
repository: ${{ github.repository }},
release: ${{ inputs.name }}

0 comments on commit 2b18364

Please sign in to comment.