From 360b73a6114fa23151dd535921cc0af10e577f78 Mon Sep 17 00:00:00 2001 From: Daniel Miakotkin <55418063+danielmkn@users.noreply.github.com> Date: Thu, 8 Sep 2022 14:19:56 -0700 Subject: [PATCH] Removed GitHub action for sending Slack notifications to Partner Engineering channel, since we're no longer working with the repo. (#235) --- .github/workflows/slack-notify-issues.yml | 20 -------------------- .github/workflows/slack-notify-pr.yml | 22 ---------------------- 2 files changed, 42 deletions(-) delete mode 100644 .github/workflows/slack-notify-issues.yml delete mode 100644 .github/workflows/slack-notify-pr.yml diff --git a/.github/workflows/slack-notify-issues.yml b/.github/workflows/slack-notify-issues.yml deleted file mode 100644 index 7a874da..0000000 --- a/.github/workflows/slack-notify-issues.yml +++ /dev/null @@ -1,20 +0,0 @@ -on: - issues: - types: [opened, reopened, deleted, closed] -name: Slack Issue Notification -jobs: - slackNotification: - name: Slack Notification Issue - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Slack Notification Issue - uses: rtCamp/action-slack-notify@master - env: - SLACK_CHANNEL: partnereng-issues - SLACK_COLOR: '#00A86B' - SLACK_ICON: https://pbs.twimg.com/profile_images/978188446178082817/86ulJdF0.jpg - SLACK_TITLE: "[${{ github.event.issue.state}}] ${{ github.event.issue.title }} on ${{ github.repository }} :rocket:" - SLACK_MESSAGE: 'Link: ${{ github.event.issue.url }}' - SLACK_USERNAME: PartnerEngineers - SLACK_WEBHOOK: ${{ secrets.SLACK_ISSUE_WEBHOOK }} diff --git a/.github/workflows/slack-notify-pr.yml b/.github/workflows/slack-notify-pr.yml deleted file mode 100644 index d1eee3b..0000000 --- a/.github/workflows/slack-notify-pr.yml +++ /dev/null @@ -1,22 +0,0 @@ -on: - pull_request: - branches: - - master - types: [opened, reopened, closed] -name: Slack Pull Request Notification -jobs: - slackNotification: - name: Slack Notification PR - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Slack Notification PR - uses: rtCamp/action-slack-notify@master - env: - SLACK_CHANNEL: partnereng-pullrequest - SLACK_COLOR: '#00A86B' - SLACK_ICON: https://pbs.twimg.com/profile_images/978188446178082817/86ulJdF0.jpg - SLACK_TITLE: "[${{ github.event.pull_request.state}}] ${{ github.event.pull_request.title }} on ${{ github.repository }} :rocket:" - SLACK_MESSAGE: 'Merging from ${{ github.head_ref }} to ${{ github.base_ref }} by ${{ github.actor }}. Link: ${{ github.event.pull_request._links.html.href }}' - SLACK_USERNAME: PartnerEngineers - SLACK_WEBHOOK: ${{ secrets.SLACK_PR_WEBHOOK }} \ No newline at end of file