We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7ca9de commit 164a707Copy full SHA for 164a707
1 file changed
.github/workflows/release.yaml
@@ -8,7 +8,7 @@ on:
8
permissions:
9
contents: write
10
11
-
+
12
jobs:
13
release:
14
runs-on: ubuntu-latest
@@ -17,6 +17,7 @@ jobs:
17
- uses: actions/checkout@v4
18
with:
19
fetch-depth: 0
20
+ branch: main
21
22
- name: Set up Python
23
uses: actions/setup-python@v5
@@ -30,7 +31,7 @@ jobs:
30
31
git config user.name "github-actions"
32
git config user.email "actions@github.com"
33
git commit -am "chore: set version from $TAG_NAME" || echo "No changes to commit"
- git push origin HEAD:${GITHUB_REF_NAME}
34
+ git push origin main
35
36
- name: Verify new version
37
run: grep __version__ pytest_htmlx/__init__.py
0 commit comments