GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: use `github.actor` instead of bot username for release proposals · nodejs/node@4e3cab4

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • create-release-proposal.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/create-release-proposal.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/create-release-proposal.yml
+2-5Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# This action requires the following secrets to be set on the repository:
2-
# GH_USER_NAME: GitHub user whose Jenkins and GitHub token are defined below
32
# GH_USER_TOKEN: GitHub user token, to be used by ncu and to push changes
43

54
name: Create Release Proposal
@@ -52,20 +51,18 @@ jobs:
5251
run: |
5352
ncu-config set branch "${RELEASE_BRANCH}"
5453
ncu-config set upstream origin
55-
ncu-config set username "$USERNAME"
54+
ncu-config set username "$GITHUB_ACTOR"
5655
ncu-config set token "$GH_TOKEN"
5756
ncu-config set repo "$(echo "$GITHUB_REPOSITORY" | cut -d/ -f2)"
5857
ncu-config set owner "${GITHUB_REPOSITORY_OWNER}"
5958
env:
60-
USERNAME: ${{ secrets.JENKINS_USER }}
6159
GH_TOKEN: ${{ github.token }}
6260

6361
- name: Set up ghauth config (Ubuntu)
6462
run: |
6563
mkdir -p "${XDG_CONFIG_HOME:-~/.config}/changelog-maker"
66-
echo '{}' | jq '{user: env.USERNAME, token: env.TOKEN}' > "${XDG_CONFIG_HOME:-~/.config}/changelog-maker/config.json"
64+
echo '{}' | jq '{user: env.GITHUB_ACTOR, token: env.TOKEN}' > "${XDG_CONFIG_HOME:-~/.config}/changelog-maker/config.json"
6765
env:
68-
USERNAME: ${{ secrets.JENKINS_USER }}
6966
TOKEN: ${{ github.token }}
7067

7168
- name: Setup git author

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.