File tree Expand file tree Collapse file tree 1 file changed +7
-25
lines changed
Expand file tree Collapse file tree 1 file changed +7
-25
lines changed Original file line number Diff line number Diff line change 66 version :
77 description : ' Next Version'
88 required : true
9+ push :
10+ branches :
11+ - " test-push-to-branch"
912
1013env :
1114 python_version : ' 3.x'
@@ -15,37 +18,16 @@ permissions:
1518
1619jobs :
1720 release :
18- runs-on : ubuntu-latest-4core
21+ runs-on : ubuntu-latest
1922 timeout-minutes : 10
2023 steps :
2124 - uses : actions/checkout@v4
2225 with :
23- token : ${{ secrets.release_token }}
26+ token : ${{ secrets.GITHUB_TOKEN }}
2427
2528 - name : Set author in Git
2629 run : |
2730 git config user.name github-actions
2831 git config user.email [email protected] 29-
30- - uses : actions/setup-python@v5
31- with :
32- python-version : ${{ env.python_version }}
33-
34- - name : Bump version
35- run : |
36- python .scripts/bump.py ${{ github.event.inputs.version }}
37- git commit --message ${{ github.event.inputs.version }} setup.py
38- git tag v${{ github.event.inputs.version }}
39-
40- - uses : ./.github/actions/python-build-publish
41- with :
42- repository : testpypi
43- token : ${{ secrets.test_pypi_token }}
44-
45- - name : Push release commit
46- run : git push --tags origin ${{ github.ref_name }}
47-
48- - uses : ncipollo/release-action@v1
49- with :
50- tag : v${{ github.event.inputs.version }}
51- draft : true
32+ # git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
33+ git push origin HEAD
You can’t perform that action at this time.
0 commit comments