Skip to content

Commit 9dd3dd7

Browse files
authored
fix(ci): Fix release (#11)
1 parent 8e40b57 commit 9dd3dd7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/release.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
fetch-depth: 0
1717
ref: ${{ github.head_ref || github.ref_name }}
18-
token: ${{ secrets.GALILEO_AUTOMATION_GITHUB_TOKEN }}
18+
token: ${{ secrets.GALILEO_AUTOMATION_GITHUB_TOKEN || github.token }}
1919

2020
- name: Setup Python
2121
uses: actions/setup-python@v5
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
git_committer_name: galileo-automation
3333
git_committer_email: ci@rungalileo.io
34-
github_token: ${{ secrets.GALILEO_AUTOMATION_GITHUB_TOKEN }}
34+
github_token: ${{ secrets.GALILEO_AUTOMATION_GITHUB_TOKEN || github.token }}
3535
ssh_public_signing_key: ${{ secrets.GALILEO_AUTOMATION_SSH_PUBLIC_KEY }}
3636
ssh_private_signing_key: ${{ secrets.GALILEO_AUTOMATION_SSH_PRIVATE_KEY }}
3737
root_options: "-vv"
@@ -62,7 +62,7 @@ jobs:
6262
if: steps.release.outputs.released == 'true'
6363
uses: python-semantic-release/upload-to-gh-release@main
6464
with:
65-
github_token: ${{ secrets.GALILEO_AUTOMATION_GITHUB_TOKEN }}
65+
github_token: ${{ secrets.GALILEO_AUTOMATION_GITHUB_TOKEN || github.token }}
6666
tag: ${{ steps.release.outputs.tag }}
6767
root_options: "-vv"
6868
dist_glob: |

0 commit comments

Comments
 (0)