Skip to content

Commit

Permalink
Revert "build: added script that match github user to slack user/adde…
Browse files Browse the repository at this point in the history
…d action/changed workflow with user mentioning (#20815)" (#21018)

This reverts commit 31f96ce.
  • Loading branch information
cuyk authored Jan 4, 2023
1 parent 0298b7f commit 45f5d76
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 173 deletions.
25 changes: 0 additions & 25 deletions .github/actions/match-github-to-slack-user/action.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1230,14 +1230,6 @@ jobs:
# - helm-acceptance-test
if: ${{ failure() && github.ref == 'refs/heads/master' }}
steps:
- name: Checkout Airbyte
uses: actions/checkout@v3
- name: Match GitHub User to Slack User
id: match-github-to-slack-user
uses: ./.github/actions/match-github-to-slack-user
env:
AIRBYTE_TEAM_BOT_SLACK_TOKEN: ${{ secrets.SLACK_BOT_TOKEN_AIRBYTE_TEAM }}
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to OSS Build Failure Slack Channel
uses: abinoda/slack-action@master
env:
Expand All @@ -1248,7 +1240,6 @@ jobs:
{\"type\":\"divider\"},
{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\" Merge to OSS Master failed! :bangbang: \n\n\"}},
{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"_merged by_: *${{ github.actor }}* \n\"}},
{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"<@${{ steps.match-github-to-slack-user.outputs.slack_user_ids }}> \n\"}},
{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\" :octavia-shocked: <https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}|View Action Run> :octavia-shocked: \n\"}},
{\"type\":\"divider\"}]}
Expand Down
139 changes: 0 additions & 139 deletions tools/bin/match_github_user_to_slack

This file was deleted.

0 comments on commit 45f5d76

Please sign in to comment.