File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 7272 - uses : actions/checkout@v5
7373 with :
7474 fetch-depth : 0
75+ - name : Setup Git for Semantic Release Testing
76+ run : |
77+ # Setup a temp branch to test
78+ git checkout -B temp-main-branch
79+ git merge ${{ github.event.pull_request.head.sha }} --no-edit
80+ git config user.name "GitHub Actions"
81+ git config user.email "actions@github.com"
7582 - name : Test Semantic Release (No-op)
7683 id : test-release
7784 uses : python-semantic-release/python-semantic-release@v10.4.1
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ build-backend = "hatchling.build"
6868
6969[tool .semantic_release ]
7070branch = " main"
71+ branches = [" main" , " temp-main-branch" ]
7172version_toml = [" pyproject.toml:project.version" ]
7273build_command = """
7374 uv lock --upgrade-package "$PACKAGE_NAME"
You can’t perform that action at this time.
0 commit comments