From 9e4b4ef2d5073c0359b7854b264fec68db78b188 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Tue, 31 Jan 2023 08:00:08 -0800 Subject: [PATCH] Remove the `react-native-bot` context from CircleCI Summary: While working on T143721371 I've noticed that we still have an exposed context for `react-native-bot` which gives access to `PAT_TOKEN` and `PAT_USERNAME`. As those two variables are unused, we can fully clean this us. Changelog: [Internal] [Changed] - Remove the `react-native-bot` context from CircleCI Reviewed By: cipolleschi Differential Revision: D42886196 fbshipit-source-id: 4eba7a53557fe7af7d87650052630eea2d2d3934 --- .circleci/config.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 14cc5daaabc..c86f1ce8faf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1454,9 +1454,7 @@ jobs: - download_gradle_dependencies # START: Stables and nightlies - # This conditional step sets up the necessary credentials for publishing react-native to npm, - # and for interacting with GitHub as the react-native-bot account. Important: these steps - # should not be allowed to run on commits from pull requests. + # This conditional step sets up the necessary credentials for publishing react-native to npm. - when: condition: or: @@ -1840,7 +1838,6 @@ workflows: # This job will trigger when a version tag is pushed (by package_release) - build_npm_package: name: build_and_publish_npm_package - context: react-native-bot release_type: "release" filters: *only_release_tags requires: @@ -1876,7 +1873,6 @@ workflows: - prepare_hermes_workspace - build_npm_package: name: build_and_publish_npm_package - context: react-native-bot release_type: "dry-run" requires: - build_hermesc_linux