Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
with:
ref: main
fetch-depth: 0
# ACTIONS_TOKEN required to push to protected main branch
token: ${{ secrets.ACTIONS_TOKEN || github.token }}

- name: Setup Python
uses: actions/setup-python@v5
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ inputs.branch_ref }}
token: ${{ github.token }}
# ACTIONS_TOKEN required to push tags to protected repo
token: ${{ secrets.ACTIONS_TOKEN || github.token }}
fetch-depth: 0

- name: Get Version from pyproject.toml
Expand Down Expand Up @@ -256,7 +257,8 @@ jobs:
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ github.token }}
# ACTIONS_TOKEN preferred for release creation
GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN || github.token }}

- name: Create release summary
if: steps.check-tag.outputs.tag_exists == 'false'
Expand Down