From 0ff82dfd09155eea1b1d1e802a5219b5094624a5 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Fri, 6 Jan 2023 07:19:02 -0800 Subject: [PATCH] Remove unused .netrc file from CircleCI (#35785) Summary: Removing a stale configuration that was configuring username/password before publishing to NPM. This is effectively unused + the Github Token there is invalid therefore can be removed. ## Changelog [INTERNAL] - Remove unused .netrc file from CircleCI Pull Request resolved: https://github.com/facebook/react-native/pull/35785 Test Plan: n/a Reviewed By: cipolleschi Differential Revision: D42385163 Pulled By: cortinico fbshipit-source-id: 0dbbf44459d59f792da4221d6100800a2f4efda2 --- .circleci/config.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7345fe18dc7..82eb9c39380 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1496,10 +1496,6 @@ jobs: - equal: [ "nightly", << parameters.release_type >> ] steps: - run: echo "//registry.npmjs.org/:_authToken=${CIRCLE_NPM_TOKEN}" > ~/.npmrc - - run: | - git config --global user.email "react-native-bot@users.noreply.github.com" - git config --global user.name "npm Deployment Script" - echo "machine github.com login react-native-bot password $GITHUB_TOKEN" > ~/.netrc # END: Stables and nightlies - run: node ./scripts/publish-npm.js --<< parameters.release_type >>