Skip to content

Commit ffbf36f

Browse files
authored
chore: fix semantic-release on GitHub protected tags (#555)
1 parent 0e47e86 commit ffbf36f

File tree

2 files changed

+2
-0
lines changed
  • .github/workflows
  • template/[% if repo_platform == 'github' %].github[% endif %]/workflows

2 files changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ jobs:
110110
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
111111
with:
112112
fetch-depth: 0
113+
persist-credentials: false
113114
- name: Setup Node.js
114115
uses: actions/[email protected]
115116
with:

template/[% if repo_platform == 'github' %].github[% endif %]/workflows/ci.yml.jinja

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ jobs:
141141
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
142142
with:
143143
fetch-depth: 0
144+
persist-credentials: false
144145
- name: Setup Node.js
145146
uses: actions/[email protected]
146147
with:

0 commit comments

Comments
 (0)