Skip to content

Commit

Permalink
ci: bump slackapi/slack-github-action from 1.27 to 2.0
Browse files Browse the repository at this point in the history
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.27 to 2.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](slackapi/slack-github-action@v1.27...v2.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>
  • Loading branch information
dependabot[bot] authored Nov 18, 2024
1 parent fc49438 commit 93e9d86
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ jobs:
GITHUB_RUN_ID: "${{ github.run_id }}"
GITHUB_SHA: "${{ github.sha }}"
SLACK_BOT_TOKEN: ${{ secrets.SLACK_LSE_BOT_TOKEN }}
uses: slackapi/slack-github-action@v1.27
uses: slackapi/slack-github-action@v2.0
with:
channel-id: 'C01RJV08UJK'
payload: "{\"text\": \":alert:<!subteam^${{ vars.SLACK_GR_DEVOPS }}>\\n*Branch: ${{ inputs.branch_name }}*\\n*Build status: <https://github.com/${{ env.GITHUB_REPOSITORY }}/actions/runs/${{ env.GITHUB_RUN_ID }}|FAILED>*\\n*Commit: <https://github.com/${{ env.GITHUB_REPOSITORY }}/commit/${{ steps.version.outputs.sha }}|${{ steps.version.outputs.sha }}>*\"}"
4 changes: 2 additions & 2 deletions .github/workflows/invite-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
! grep --only-matching --extended-regexp '(&quot;|")isSharedInviteError(&quot;|")\s*:\s*true' <(curl --silent --location --user-agent Chrome/65536.0.0.0 ${{ env.INVITE_LINK }})
- name: Notify to Slack
if: always() && steps.invite_link_is_active.outcome == 'failure'
uses: slackapi/slack-github-action@v1.27
uses: slackapi/slack-github-action@v2.0
with:
channel-id: '${{ secrets.SLACK_LS_MONITORING_CHANNEL }}'
slack-message: "Our <${{ env.INVITE_LINK }}|public invite link> has expired and needs to be manually updated:\n1. <https://slack.com/intl/en-es/help/articles/201330256-Invite-new-members-to-your-workspace#share-an-invite-link|Generate a new link> without expiry date; you may need to deactivate the previous one first.\n2. Update the permanent redirect link <https://s3.console.aws.amazon.com/s3/bucket/slack.labelstud.io/property/website/edit?region=us-east-1|on the S3 dashboard> with newly generated link WITHOUT URL SCHEME."
Expand All @@ -36,7 +36,7 @@ jobs:
# )
# - name: Notify to Slack
# if: always() && steps.invite_link_has_teamdomains.outcome == 'failure'
# uses: slackapi/slack-github-action@v1.27
# uses: slackapi/slack-github-action@v2.0
# with:
# channel-id: '${{ secrets.SLACK_LS_MONITORING_CHANNEL }}'
# slack-message: "Our <${{ env.INVITE_LINK }}|public invite link> was configured to allow signups only from a list of allowed domains:\n1. Go to <https://label-studio.slack.com/admin/settings|Workspace settings>, next to `Joining This Workspace`, click `Expand`.\n2. Delete all domains from the list, select `Allow invitations` and click `Save`."
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
steps:
- name: Send Notification to Slack
id: slack_notify_ops_release
uses: slackapi/slack-github-action@v1.27
uses: slackapi/slack-github-action@v2.0
with:
channel-id: '${{ vars.SLACK_CH_RELEASE_TRAIN }}'
slack-message: |
Expand Down

0 comments on commit 93e9d86

Please sign in to comment.