File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Python Tests for Josepy
33on :
44 pull_request :
55 branches :
6- - master
6+ - main
77 push :
88 schedule :
99 # Run at 4pm UTC or 9am PST
@@ -50,15 +50,15 @@ jobs:
5050 run : pytest tests
5151 notify :
5252 # Only notify about failed builds, do not notify about failed builds for
53- # PRs, and only notify about failed pushes to master .
54- if : ${{ failure() && github.event_name != 'pull_request' && (github.event_name != 'push' || github.ref == 'refs/heads/master ') }}
53+ # PRs, and only notify about failed pushes to main .
54+ if : ${{ failure() && github.event_name != 'pull_request' && (github.event_name != 'push' || github.ref == 'refs/heads/main ') }}
5555 needs : [build, external]
5656 runs-on : ubuntu-20.04
5757 steps :
5858 - name : Write Mattermost Message
5959 run : |
6060 WORKFLOW_RUN_URL="$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
6161 echo "{\"text\":\"** :warning: $GITHUB_REPOSITORY: Build failed :warning: ** | [(see details)]($WORKFLOW_RUN_URL) \"}" > mattermost.json
62- - uses : mattermost/action-mattermost-notify@master
62+ - uses : mattermost/action-mattermost-notify@main
6363 env :
6464 MATTERMOST_WEBHOOK_URL : ${{ secrets.MATTERMOST_WEBHOOK_URL }}
Original file line number Diff line number Diff line change 11Changelog
22=========
33
4- 1.15.0 (master )
4+ 1.15.0 (main )
55---------------
66* Added support for Python 3.13.
77* Dropped support for Python 3.7.
You can’t perform that action at this time.
0 commit comments