mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
tools: edit create-release-proposal workflow
Small cleanup edits. PR-URL: https://github.com/nodejs/node/pull/56540 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
@@ -61,7 +61,7 @@ jobs:
|
||||
- name: Set up ghauth config (Ubuntu)
|
||||
run: |
|
||||
mkdir -p "${XDG_CONFIG_HOME:-~/.config}/changelog-maker"
|
||||
echo '{}' | jq '{user: env.GITHUB_ACTOR, token: env.TOKEN}' > "${XDG_CONFIG_HOME:-~/.config}/changelog-maker/config.json"
|
||||
jq --null-input '{user: env.GITHUB_ACTOR, token: env.TOKEN}' > "${XDG_CONFIG_HOME:-~/.config}/changelog-maker/config.json"
|
||||
env:
|
||||
TOKEN: ${{ github.token }}
|
||||
|
||||
@@ -73,9 +73,9 @@ jobs:
|
||||
- name: Start git node release prepare
|
||||
# The curl command is to make sure we run the version of the script corresponding to the current workflow.
|
||||
run: |
|
||||
git update-index --assume-unchanged tools/actions/create-release.sh
|
||||
curl -fsSLo tools/actions/create-release.sh https://github.com/${GITHUB_REPOSITORY}/raw/${GITHUB_SHA}/tools/actions/create-release.sh
|
||||
./tools/actions/create-release.sh "${RELEASE_DATE}" "${RELEASE_LINE}" "${GITHUB_ACTOR}"
|
||||
git update-index --assume-unchanged tools/actions/create-release-proposal.sh
|
||||
curl -fsSLo tools/actions/create-release-proposal.sh https://github.com/${GITHUB_REPOSITORY}/raw/${GITHUB_SHA}/tools/actions/create-release-proposal.sh
|
||||
./tools/actions/create-release-proposal.sh "${RELEASE_DATE}" "${RELEASE_LINE}" "${GITHUB_ACTOR}"
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
# We want the bot to push the push the release commit so CI runs on it.
|
||||
|
||||
Reference in New Issue
Block a user