From a323c4dea13fcd60b6dbcab57bca093ff23c504d Mon Sep 17 00:00:00 2001 From: Keegan | W3F <35080151+keeganquigley@users.noreply.github.com> Date: Wed, 12 Jul 2023 10:57:16 -0400 Subject: [PATCH] Delete application_approved.yml --- .github/workflows/application_approved.yml | 30 ---------------------- 1 file changed, 30 deletions(-) delete mode 100644 .github/workflows/application_approved.yml diff --git a/.github/workflows/application_approved.yml b/.github/workflows/application_approved.yml deleted file mode 100644 index 2448ce96af9..00000000000 --- a/.github/workflows/application_approved.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Approvals notification - -on: - pull_request_review: - types: [submitted] - -jobs: - send_matrix_approved_msg: - if: github.event.review.state == 'approved' && contains(github.event.pull_request.body, 'Project Abstract') - runs-on: ubuntu-latest - steps: - - run: echo 'APPROVALS=?' >> $GITHUB_ENV - - if: contains(github.event.pull_request.body, '[x] **Level 1**') - run: echo 'APPROVALS=2' >> $GITHUB_ENV - - if: contains(github.event.pull_request.body, '[x] **Level 2**') - run: echo 'APPROVALS=3' >> $GITHUB_ENV - - if: contains(github.event.pull_request.body, '[x] **Level 3**') - run: echo 'APPROVALS=5' >> $GITHUB_ENV - - id: 'reviews' - uses: 'jrylan/github-action-reviews-counter@main' - with: - repo-token: '${{ secrets.GITHUB_TOKEN }}' - - uses: fadenb/matrix-chat-message@v0.0.6 - with: - homeserver: 'matrix.web3.foundation' - token: ${{ secrets.MATRIX_TOKEN }} - channel: ${{ secrets.MATRIX_CHANNEL_ID }} - message: | - PR APPROVED: [${{ github.event.pull_request.title }}](https://github.com/w3f/Grants-Program/pull/${{ github.event.pull_request.number }}) has been approved by ${{ github.event.review.user.login }}. - Approvals: ${{ steps.reviews.outputs.approved }}/${{ env.APPROVALS }} \ No newline at end of file