Skip to content

Commit f2a081f

Browse files
committed
fix: set persist-credentials false only for the release job
otherwise default is true
1 parent 19c96a6 commit f2a081f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

install-dependencies/action.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ runs:
3636
if: inputs.checkout-repo == 'true'
3737
with:
3838
fetch-depth: 0
39-
persist-credentials: false
4039
- name: Setup tools
4140
uses: open-turo/action-setup-tools@v2
4241
- name: Check for yarn.lock

release/action.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,16 @@ outputs:
6262
runs:
6363
using: composite
6464
steps:
65+
- name: Checkout
66+
uses: actions/checkout@v4
67+
if: inputs.checkout-repo == 'true'
68+
with:
69+
fetch-depth: ${{ inputs.checkout-fetch-depth }}
70+
persist-credentials: false
6571
- name: Build
6672
uses: open-turo/actions-node/build@v6
6773
with:
74+
checkout-repo: false
6875
npm-auth-token: ${{ inputs.npm-auth-token }}
6976
npm-token: ${{ inputs.npm-token }}
7077
s3-bucket-name: ${{ inputs.s3-bucket-name }}

0 commit comments

Comments
 (0)