File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ name: Release
22
33on :
44 workflow_dispatch :
5+ # Disabled to be able to roll multiple breaking releases into one release
56 # push:
67 # branches:
78 # - master
@@ -12,28 +13,28 @@ jobs:
1213 concurrency : release
1314 permissions :
1415 id-token : write
16+ contents : write
1517
1618 steps :
1719 - uses : actions/checkout@v3
1820 with :
1921 fetch-depth : 0
22+ persist-credentials : false
2023 - name : Python Semantic Release
2124 id : release
22- # https://github.com/relekang /python-semantic-release/releases
23- uses :
relekang /[email protected] .7 25+ # https://github.com/python-semantic-release /python-semantic-release/releases
26+ uses :
python-semantic-release /[email protected] .8 2427 with :
25- github_token : ${{ secrets.GITHUB_TOKEN }}
28+ github_token : ${{ secrets.BOT_GITHUB_TOKEN }}
2629
2730 - name : Publish package distributions to PyPI
2831 uses : pypa/gh-action-pypi-publish@release/v1
2932 # NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true.
3033 # See https://github.com/actions/runner/issues/1173
3134 if : steps.release.outputs.released == 'true'
32- with :
33- pypi_token : ${{ secrets.PYPI_TOKEN }}
3435
3536 - name : Publish package distributions to GitHub Releases
3637 uses : python-semantic-release/upload-to-gh-release@main
3738 if : steps.release.outputs.released == 'true'
3839 with :
39- github_token : ${{ secrets.GITHUB_TOKEN }}
40+ github_token : ${{ secrets.BOT_GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ factory-boy = "3.*"
3737dj-database-url = " 2.*"
3838
3939[tool .semantic_release ]
40- branch = " master"
4140version_toml = [" pyproject.toml:tool.poetry.version" ]
4241version_variables = [" django_object_actions/__init__.py:__version__" ]
4342build_command = " pip install poetry && poetry build"
You can’t perform that action at this time.
0 commit comments