Skip to content

Commit 477e674

Browse files
committed
tools: edit create-release-proposal workflow
Small cleanup edits. PR-URL: #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>
1 parent 90e12f2 commit 477e674

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Set up ghauth config (Ubuntu)
6262
run: |
6363
mkdir -p "${XDG_CONFIG_HOME:-~/.config}/changelog-maker"
64-
echo '{}' | jq '{user: env.GITHUB_ACTOR, token: env.TOKEN}' > "${XDG_CONFIG_HOME:-~/.config}/changelog-maker/config.json"
64+
jq --null-input '{user: env.GITHUB_ACTOR, token: env.TOKEN}' > "${XDG_CONFIG_HOME:-~/.config}/changelog-maker/config.json"
6565
env:
6666
TOKEN: ${{ github.token }}
6767

@@ -73,9 +73,9 @@ jobs:
7373
- name: Start git node release prepare
7474
# The curl command is to make sure we run the version of the script corresponding to the current workflow.
7575
run: |
76-
git update-index --assume-unchanged tools/actions/create-release.sh
77-
curl -fsSLo tools/actions/create-release.sh https://github.com/${GITHUB_REPOSITORY}/raw/${GITHUB_SHA}/tools/actions/create-release.sh
78-
./tools/actions/create-release.sh "${RELEASE_DATE}" "${RELEASE_LINE}" "${GITHUB_ACTOR}"
76+
git update-index --assume-unchanged tools/actions/create-release-proposal.sh
77+
curl -fsSLo tools/actions/create-release-proposal.sh https://github.com/${GITHUB_REPOSITORY}/raw/${GITHUB_SHA}/tools/actions/create-release-proposal.sh
78+
./tools/actions/create-release-proposal.sh "${RELEASE_DATE}" "${RELEASE_LINE}" "${GITHUB_ACTOR}"
7979
env:
8080
GH_TOKEN: ${{ github.token }}
8181
# We want the bot to push the push the release commit so CI runs on it.
File renamed without changes.

0 commit comments

Comments
 (0)