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 5561327 commit af2c0e1Copy full SHA for af2c0e1
.github/workflows/ci.yml
@@ -96,10 +96,18 @@ jobs:
96
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
97
98
publish_pure:
99
+ # Build when pushing to any branch except main
100
+ # publish.yml will only publish if tagged ^v.*
101
if: |
102
+ (
103
github.event_name != 'pull_request' && (
104
github.ref_name != 'main' ||
- github.event_name == 'workflow_dispatch' )
105
+ github.event_name == 'workflow_dispatch'
106
+ )
107
+ ) || (
108
+ github.event_name == 'pull_request' &&
109
+ contains(github.event.pull_request.labels.*.name, 'Run publish')
110
111
needs: [test, docs]
112
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
113
with:
0 commit comments