Skip to content

Commit

Permalink
ci: bump slackapi/slack-github-action from 1.27.0 to 2.0.0 (#249)
Browse files Browse the repository at this point in the history
* ci: bump slackapi/slack-github-action from 1.27.0 to 2.0.0

Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.27.0 to 2.0.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](slackapi/slack-github-action@v1.27.0...v2.0.0)

---
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 action

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julian Gruber <julian@juliangruber.com>
  • Loading branch information
dependabot[bot] and juliangruber authored Nov 15, 2024
1 parent 2d8ca91 commit 5404dd1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,13 @@ jobs:
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
- if: failure()
uses: slackapi/slack-github-action@v1.27.0
uses: slackapi/slack-github-action@v2.0.0
with:
channel-id: alerts
method: chat.postMessage
token: ${{ secrets.SLACK_BOT_TOKEN }}
payload: |
{
"channel": "alerts",
"text": "Deployment of `${{ github.event.repository.name }}` failed",
"blocks": [
{
Expand All @@ -159,8 +161,6 @@ jobs:
}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
deploy-observer:
if: github.ref == 'refs/heads/main'
Expand All @@ -173,14 +173,16 @@ jobs:
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_OBSERVER }}
- if: failure()
uses: slackapi/slack-github-action@v1.27.0
uses: slackapi/slack-github-action@v2.0.0
with:
channel-id: alerts
method: chat.postMessage
token: ${{ secrets.SLACK_BOT_TOKEN }}
payload: |
{
"text": "Deployment of `${{ github.event.repository.name }}` failed",
"blocks": [
{
"channel": "alerts",
"type": "section",
"text": {
"type": "mrkdwn",
Expand All @@ -189,5 +191,3 @@ jobs:
}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 comments on commit 5404dd1

Please sign in to comment.