Skip to content

Commit d9497f4

Browse files
committed
ci: keep persist-credentials on workflows that git push
1 parent cec7bd9 commit d9497f4

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

.github/workflows/changesets-pr.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2929
with:
3030
fetch-depth: 0
31-
persist-credentials: false
3231

3332
- name: Setup pnpm
3433
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
@@ -85,7 +84,6 @@ jobs:
8584
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8685
with:
8786
ref: changeset-release/main
88-
persist-credentials: false
8987

9088
- name: Setup pnpm
9189
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
@@ -135,7 +133,6 @@ jobs:
135133
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
136134
with:
137135
ref: changeset-release/main
138-
persist-credentials: false
139136

140137
- name: Bump Chart.yaml
141138
run: |

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ jobs:
6969
with:
7070
fetch-depth: 0
7171
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.ref || github.sha }}
72-
persist-credentials: false
7372

7473
- name: Verify ref is on main
7574
if: github.event_name == 'workflow_dispatch'
@@ -156,7 +155,6 @@ jobs:
156155
set -e
157156
git tag "helm-v${STEPS_GET_VERSION_OUTPUTS_PACKAGE_VERSION}"
158157
git push origin "helm-v${STEPS_GET_VERSION_OUTPUTS_PACKAGE_VERSION}"
159-
160158
env:
161159
STEPS_GET_VERSION_OUTPUTS_PACKAGE_VERSION: ${{ steps.get_version.outputs.package_version }}
162160

@@ -298,5 +296,4 @@ jobs:
298296
run: pnpm exec changeset publish --no-git-tag --snapshot --tag "${GITHUB_EVENT_INPUTS_PRERELEASE_TAG}"
299297
env:
300298
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
301-
302299
GITHUB_EVENT_INPUTS_PRERELEASE_TAG: ${{ github.event.inputs.prerelease_tag }}

0 commit comments

Comments
 (0)