Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADO: Change full checkout persistCredentials default back to false #10553

Merged
merged 1 commit into from
Sep 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .ado/integrate-rn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ jobs:
steps:
- template: templates/checkout-full.yml

- template: templates/configure-git.yml

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

- script: git checkout -b integrate-${{ parameters.reactNativeVersion }} origin/main
Expand Down
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 # We don't need git creds in this job

- 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 # Git creds needed for beachball

- powershell: gci env:/BUILD_*
displayName: Show build information
Expand Down
2 changes: 1 addition & 1 deletion .ado/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- template: templates/checkout-full.yml
parameters:
persistCredentials: false # We're going to use rnbot's credentials to publish
persistCredentials: false # We're going to use rnbot's git creds to publish

- 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 # Make callers explicitly request credentials if they need them

steps:
- checkout: self
Expand Down