Skip to content

Commit

Permalink
Push master/main commits to discord
Browse files Browse the repository at this point in the history
  • Loading branch information
oorzkws committed Oct 21, 2024
1 parent 9e63fb8 commit e8522df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
status: success
- name: Notify public commit
if: ${{ (github.head_ref || github.ref_name) == 'Frozen' }}
if: ${{ (github.head_ref || github.ref_name) == 'master' || (github.head_ref || github.ref_name) == 'main' }}
uses: Sniddl/[email protected]
with:
webhook: ${{ secrets.PUBLIC_DISCORD_WEBHOOK }}
Expand Down

0 comments on commit e8522df

Please sign in to comment.