Skip to content

Commit cf745d3

Browse files
committed
fix: Token permissions, bash spacing, etc.
1 parent 280c92d commit cf745d3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/release-new-version.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ jobs:
3232
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3333
with:
3434
fetch-depth: 0 # fetch full commit and tag history
35-
filter: blob:none # exclude file contents for faster checkout
3635
persist-credentials: false
3736

3837
- name: Setup Python
@@ -50,14 +49,15 @@ jobs:
5049
git config user.email "github-actions[bot]@users.noreply.github.com"
5150
5251
- name: Bump version
53-
run: bump-my-version bump -v ${ BUMP_TYPE }
52+
run: bump-my-version bump -v ${BUMP_TYPE}
5453
env:
5554
BUMP_TYPE: ${{ inputs.increment }}
5655

5756
- name: Push changes and new tag
5857
run: |
59-
git push origin main ${DEFAULT_BRANCH}
58+
git push origin ${DEFAULT_BRANCH}
6059
git push origin --tags
60+
token: ${{ secrets.GITHUB_TOKEN }}
6161
env:
6262
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
6363

0 commit comments

Comments
 (0)