From 26740efb50d09d0b1a537423bc957e030b3a8090 Mon Sep 17 00:00:00 2001 From: Sarina Canelake Date: Wed, 26 May 2021 21:47:20 -0400 Subject: [PATCH] build: remove OpsGenie alert for Python upgrade failures The Community Engineering team has agreed that we would only like to get tagged on Python upgrade notifications, not paged in Ops Genie. This PR removes OG notification and also removes the team-reviewers as that was not working; we are moving to being tagged in the CODEOWNERS file. --- .github/workflows/upgrade-python-requirements.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/upgrade-python-requirements.yml b/.github/workflows/upgrade-python-requirements.yml index e563959..e448d0f 100644 --- a/.github/workflows/upgrade-python-requirements.yml +++ b/.github/workflows/upgrade-python-requirements.yml @@ -52,17 +52,4 @@ jobs: --target-branch="${{ env.target_branch }}" --base-branch-name="upgrade-python-requirements" \ --commit-message="chore: Updating Python Requirements" --pr-title="Python Requirements Update" \ --pr-body="Python requirements update.Please review the [changelogs](https://openedx.atlassian.net/wiki/spaces/TE/pages/1001521320/Python+Package+Changelogs) for the upgraded packages." \ - --user-reviewers="" --team-reviewers="community-engineering" --delete-old-pull-requests - - - name: Send failure notification - if: ${{ failure() }} - uses: dawidd6/action-send-mail@v3 - with: - server_address: email-smtp.us-east-1.amazonaws.com - server_port: 465 - username: ${{secrets.EDX_SMTP_USERNAME}} - password: ${{secrets.EDX_SMTP_PASSWORD}} - subject: Upgrade python requirements workflow failed in ${{github.repository}} - to: community-engineering@edx.opsgenie.net - from: github-actions - body: Upgrade python requirements workflow in ${{github.repository}} failed! For details see "github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" + --user-reviewers="" --team-reviewers="" --delete-old-pull-requests