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 980ac87 commit 307ebb6Copy full SHA for 307ebb6
.github/workflows/publish.yml
@@ -16,8 +16,9 @@ jobs:
16
steps:
17
- uses: actions/checkout@v4
18
19
+ # https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs#determining-when-to-use-contexts
20
- name: Exit if not on master branch
- if: github.ref_name != 'master'
21
+ if: ${{ github.ref == 'refs/heads/main' }}
22
run: exit -1
23
24
- name: Install uv
0 commit comments