Skip to content

Commit

Permalink
build: remove OpsGenie alert for Python upgrade failures
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sarina authored May 27, 2021
1 parent 09beb5b commit 26740ef
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/upgrade-python-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <github-actions@edx.org>
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

0 comments on commit 26740ef

Please sign in to comment.