From f1a7f06c6cc4ca9fc0ad70ff53ed49184c0bb58a Mon Sep 17 00:00:00 2001 From: Chiedo John <2156688+chiedo@users.noreply.github.com> Date: Wed, 30 Jun 2021 09:55:51 -0400 Subject: [PATCH 1/2] Delete post-status-updates-to-slack.yml --- .../post-status-updates-to-slack.yml | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 .github/workflows/post-status-updates-to-slack.yml diff --git a/.github/workflows/post-status-updates-to-slack.yml b/.github/workflows/post-status-updates-to-slack.yml deleted file mode 100644 index 8b73476946..0000000000 --- a/.github/workflows/post-status-updates-to-slack.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Epic Status Update - -# **What it does**: For our epic issue status comments, also ping us in Slack. -# **Why we have it**: So that we can write one status update and have it show up in two places. -# **Who does it impact**: GitHub docs staff. - -on: - issue_comment: - types: [created] -jobs: - post-status-updates-to-slack: - runs-on: ubuntu-latest - if: contains(github.event.comment.body, '_created with') && contains(github.event.comment.body, 'typing_ `/status`') - steps: - - name: Trim HTML comments - id: trimmed - uses: ashley-taylor/regex-property-action@93a24f845cd20790924208225cc72da8b4c6d46d - with: - value: ${{github.event.comment.body}} - regex: '' - replacement: '' - - name: Send Slack notification - uses: archive/github-actions-slack@d368c5a4ad757515a9344918f84c490b05777d94 - id: notify - with: - slack-channel: 'C01EEKVR0Q7' - slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_TOKEN }} - slack-text: \n><${{ github.event.comment.html_url}}|*${{github.event.issue.title}}*>\nstatus update posted by ${{github.event.comment.user.login}}\n\n${{ steps.trimmed.outputs.value }} From b2bda9ea387666fdde5c02cca9f2b30906b42d48 Mon Sep 17 00:00:00 2001 From: Grace Park Date: Wed, 30 Jun 2021 09:56:18 -0700 Subject: [PATCH 2/2] removing unused actions - tests/unit/actions-workflows.js is failing (#20223) --- .github/allowed-actions.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/allowed-actions.js b/.github/allowed-actions.js index 205097fc36..8cad294f5f 100644 --- a/.github/allowed-actions.js +++ b/.github/allowed-actions.js @@ -13,8 +13,6 @@ module.exports = [ "actions/stale@9d6f46564a515a9ea11e7762ab3957ee58ca50da", // v3.0.16 "alex-page/github-project-automation-plus@fdb7991b72040d611e1123d2b75ff10eda9372c9", "andymckay/labeler@22d5392de2b725cea4b284df5824125054049d84", - "archive/github-actions-slack@d368c5a4ad757515a9344918f84c490b05777d94", - "ashley-taylor/regex-property-action@93a24f845cd20790924208225cc72da8b4c6d46d", "crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688", "crykn/copy_folder_to_another_repo_action@0282e8b9fef06de92ddcae9fe6cb44df6226646c", "cschleiden/actions-linter@0ff16d6ac5103cca6c92e6cbc922b646baaea5be",