We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d81518e commit 9327216Copy full SHA for 9327216
.github/workflows/build-test-publish.yml
@@ -2,9 +2,20 @@ name: CI
2
3
on:
4
push:
5
+ branches:
6
+ - master
7
+ - main
8
+ - maint/*
9
+ tags:
10
+ - '*'
11
pull_request:
12
13
14
15
16
schedule:
- - cron: 0 0 * * 0
17
+ # 9am EST / 10am EDT Mondays
18
+ - cron: 0 14 * * 0
19
# Allow job to be triggered manually from GitHub interface
20
workflow_dispatch:
21
@@ -224,7 +235,7 @@ jobs:
224
235
publish:
225
236
name: Publish released package to pypi.org
226
237
environment: release-pypi
227
- if: github.event.action == 'published'
238
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
228
239
runs-on: ubuntu-latest
229
240
needs: [build-package, test]
230
241
permissions:
0 commit comments