Skip to content

Commit

Permalink
ADO: Change full checkout persistCredentials default to false
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthysell committed Sep 12, 2022
1 parent c767e45 commit 3ff0bef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .ado/jobs/cli-init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ jobs:

steps:
- template: ../templates/checkout-full.yml

- template: ../templates/configure-git.yml
parameters:
persistCredentials: false

- template: ../templates/prepare-js-env.yml

Expand Down
2 changes: 2 additions & 0 deletions .ado/jobs/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:

steps:
- template: ../templates/checkout-full.yml
parameters:
persistCredentials: true # Needed for beachball

- powershell: gci env:/BUILD_*
displayName: Show build information
Expand Down
2 changes: 1 addition & 1 deletion .ado/templates/checkout-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
parameters:
- name: persistCredentials
type: boolean
default: true
default: false

steps:
- checkout: self
Expand Down

0 comments on commit 3ff0bef

Please sign in to comment.