mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
tools: avoid workflow shell interpolation
Pass input, output, and version values through environment variables instead of expanding them into shell source. Split benchmark categories and PR numbers into arrays to retain separate arguments. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex PR-URL: https://github.com/nodejs/node/pull/66013 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Xuguang Mei <meixuguang@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
This commit is contained in:
1 parent
96e769e36d
commit
7203d9bebe
6 files changed
+26
-12
No files matched your search
@@ -196,6 +196,8 @@ jobs:
|
||||
git config --local user.email "github-bot@iojs.org"
|
||||
git config --local user.name "Node.js GitHub Bot"
|
||||
ncu-config set token "$GH_TOKEN"
|
||||
./tools/actions/commit-queue.sh ${{ steps.get_mergeable_prs.outputs.numbers }}
|
||||
read -r -a numbers <<< "$PULL_REQUESTS"
|
||||
./tools/actions/commit-queue.sh "${numbers[@]}"
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GH_USER_TOKEN }}
|
||||
PULL_REQUESTS: ${{ steps.get_mergeable_prs.outputs.numbers }}
|
||||
Reference in new issue
Block a user