Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornlf <quitlahok@gmail.com>2022-05-10 21:19:20 +0300
committerGitHub <noreply@github.com>2022-05-10 21:19:20 +0300
commitc024e90a12b4ef17394ba79cfc2ea94f3f933b26 (patch)
treeca47b6c1cab4d1d0a449b7300c89e7ca71beab56 /.github
parent5a50762faa37ae5964ae6f12595b20b367056c0a (diff)
chore: update action secrets + bot info (#4878)
* chore: update bot account and secrets for nodejs/node updates * chore: update bot account and secrets for npm/benchmarks triggers * chore: add npm CLI robot to mailmap and exclude from AUTHORS
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/benchmark.yml4
-rw-r--r--.github/workflows/create-cli-deps-pr.yml10
2 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index 3eca93882..ea9196824 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -26,7 +26,7 @@ jobs:
env:
# gh cli uses these env vars for owner/repo/token
GH_REPO: "npm/benchmarks"
- GITHUB_TOKEN: ${{ secrets.NPM_BENCHMARKS_TOKEN }}
+ GITHUB_TOKEN: ${{ secrets.BENCHMARKS_DISPATCH_TOKEN }}
run: |
if [[ "$GITHUB_TOKEN" == "" ]]; then
echo "No auth - from fork pull request, exiting"
@@ -68,7 +68,7 @@ jobs:
github.event_name == 'issue_comment' &&
github.event.issue.pull_request &&
github.event.issue.state == 'open' &&
- startsWith(github.event.comment.body, '@npm-robot benchmark this')
+ startsWith(github.event.comment.body, '@npm-cli-bot benchmark this')
env:
# gh cli uses this env var as the token
GITHUB_TOKEN: ${{ secrets.NPM_BENCHMARKS_TOKEN }}
diff --git a/.github/workflows/create-cli-deps-pr.yml b/.github/workflows/create-cli-deps-pr.yml
index 1a1415a7b..595bc64ac 100644
--- a/.github/workflows/create-cli-deps-pr.yml
+++ b/.github/workflows/create-cli-deps-pr.yml
@@ -21,22 +21,22 @@ jobs:
fetch-depth: 0
ref: master
repository: npm/node
- token: ${{ secrets.NPM_ROBOT_USER_PAT }}
+ token: ${{ secrets.NODE_PULL_REQUEST_TOKEN }}
- name: Setup git user
run: |
- git config --global user.email "npm team"
- git config --global user.name "ops+robot@npmjs.com"
+ git config --global user.email "npm CLI robot"
+ git config --global user.name "npm-cli+bot@github.com"
- name: Sync upstream changes
uses: aormsby/Fork-Sync-With-Upstream-action@v3.2
with:
target_sync_branch: master
- target_repo_token: ${{ secrets.NPM_ROBOT_USER_PAT }}
+ target_repo_token: ${{ secrets.NODE_PULL_REQUEST_TOKEN }}
upstream_sync_branch: master
upstream_sync_repo: nodejs/node
upstream_pull_args: --ff-only
- name: Run dependency updates and create PR
env:
- GITHUB_TOKEN: ${{ secrets.NPM_ROBOT_USER_PAT }}
+ GITHUB_TOKEN: ${{ secrets.NODE_PULL_REQUEST_TOKEN }}
run: |
base_dir="$( pwd )"/
dry_run="${{ github.event.inputs.dryRun }}"