Skip to content

Commit

Permalink
ci: fix auto-release
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonC committed Nov 22, 2024
1 parent ccf27df commit bd8b2b4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ jobs:
uses: actions/checkout@v2

- name: Prepare repository
run: git fetch --unshallow --prune --tags
run: |
git remote set-url origin "https://$GITHUB_ACTOR:${{ secrets.RELEASE_BOT_TOKEN }}@github.com/$GITHUB_REPOSITORY.git"
git fetch --unshallow --prune --tags
- name: Unset header
# checkout@v2 adds a header that makes branch protection report errors ):
# checkout@v2 adds a header that makes branch protection report errors :(
run: git config --local --unset http.https://github.com/.extraheader

- name: Read .nvmrc
Expand Down

0 comments on commit bd8b2b4

Please sign in to comment.