Skip to content

Commit

Permalink
chore: stop sending notification for update python requirements on un…
Browse files Browse the repository at this point in the history
…changed
  • Loading branch information
leangseu-edx authored and feanil committed Feb 27, 2024
1 parent 303d605 commit 9f0c8b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-python-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
body: Upgrade python requirements workflow in ${{github.repository}} failed! For details see "github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

- name: Send success notification
if: ${{ inputs.send_success_notification && inputs.email_address }}
if: ${{ inputs.send_success_notification && inputs.email_address && steps.createpullrequest.outputs.generated_pr }}
uses: dawidd6/action-send-mail@v3
with:
server_address: email-smtp.us-east-1.amazonaws.com
Expand Down

0 comments on commit 9f0c8b8

Please sign in to comment.