Skip to content

Commit

Permalink
fix(semantic-release): do not clean repository on token change (#213)
Browse files Browse the repository at this point in the history
This fixes an issue where a token change would clean the whole
repository and therefore would not publish NPM packages
  • Loading branch information
TheDome authored Dec 19, 2024
1 parent f1c1d0e commit bf2f69a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions semantic-release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ runs:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.checkout-ref }}
clean: false
token: ${{ steps.generate_token.outputs.token }}

- name: Create semantic release
Expand Down

0 comments on commit bf2f69a

Please sign in to comment.