File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7272
7373 - name : Start the CI
7474 run : |
75+ read -r -a numbers <<< "$PULL_REQUESTS"
7576 curl -fsSL "https://github.com/${GITHUB_REPOSITORY}/raw/${GITHUB_SHA}/tools/actions/start-ci.sh" \
76- | sh -s -- ${{ needs.get-prs-for-ci.outputs. numbers }}
77+ | sh -s -- "${ numbers[@]}"
7778 env :
7879 GH_TOKEN : ${{ github.token }}
80+ PULL_REQUESTS : ${{ needs.get-prs-for-ci.outputs.numbers }}
Original file line number Diff line number Diff line change @@ -196,6 +196,8 @@ jobs:
196196 git config --local user.email "github-bot@iojs.org"
197197 git config --local user.name "Node.js GitHub Bot"
198198 ncu-config set token "$GH_TOKEN"
199- ./tools/actions/commit-queue.sh ${{ steps.get_mergeable_prs.outputs.numbers }}
199+ read -r -a numbers <<< "$PULL_REQUESTS"
200+ ./tools/actions/commit-queue.sh "${numbers[@]}"
200201 env :
201202 GH_TOKEN : ${{ secrets.GH_USER_TOKEN }}
203+ PULL_REQUESTS : ${{ steps.get_mergeable_prs.outputs.numbers }}
Original file line number Diff line number Diff line change @@ -139,7 +139,9 @@ jobs:
139139 - name : Clone report for upload
140140 if : ${{ env.WPT_REPORT != '' }}
141141 working-directory : out/wpt
142- run : cp wptreport.json wptreport-${{ steps.setup-node.outputs.node-version }}.json
142+ run : cp wptreport.json "wptreport-$NODE_VERSION.json"
143+ env :
144+ NODE_VERSION : ${{ steps.setup-node.outputs.node-version }}
143145 - name : Upload GitHub Actions artifact
144146 if : ${{ env.WPT_REPORT != '' }}
145147 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
@@ -150,12 +152,13 @@ jobs:
150152 - name : Upload WPT Report to wpt.fyi API
151153 if : ${{ env.WPT_REPORT != '' }}
152154 env :
155+ NODE_VERSION : ${{ steps.setup-node.outputs.node-version }}
153156 WPT_FYI_USERNAME : ${{ vars.WPT_FYI_USERNAME }}
154157 WPT_FYI_PASSWORD : ${{ secrets.WPT_FYI_PASSWORD }}
155158 working-directory : out/wpt
156159 run : |
157160 gzip wptreport.json
158- echo "## Node.js ${{ steps.setup-node.outputs.node-version }} " >> $GITHUB_STEP_SUMMARY
161+ echo "## Node.js $NODE_VERSION " >> $GITHUB_STEP_SUMMARY
159162 echo "" >> $GITHUB_STEP_SUMMARY
160163 echo "WPT Revision: [\`${WPT_REVISION:0:7}\`](https://github.com/web-platform-tests/wpt/commits/$WPT_REVISION)" >> $GITHUB_STEP_SUMMARY
161164 for WPT_FYI_ENDPOINT in "https://wpt.fyi/api/results/upload" "https://staging.wpt.fyi/api/results/upload"
Original file line number Diff line number Diff line change @@ -40,14 +40,14 @@ jobs:
4040
4141 - name : Compare versions
4242 run : |
43- echo "Comparing current version ${{ env. current_version }} to new version ${{ env. new_version }} "
43+ echo "Comparing current version $current_version to new version $new_version"
4444
4545 - run : ./tools/dep_updaters/update-timezone.mjs
4646 if : ${{ env.new_version != env.current_version }}
4747
4848 - name : Update the expected timezone version in test
4949 if : ${{ env.new_version != env.current_version }}
50- run : echo "${{ env. new_version }} " > test/fixtures/tz-version.txt
50+ run : printf '%s\n' "$ new_version" > test/fixtures/tz-version.txt
5151
5252 - name : Open Pull Request
5353 if : ${{ env.new_version != env.current_version }}
Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ jobs:
304304 - name : Generate commit message if not set
305305 if : env.COMMIT_MSG == '' && (github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id)
306306 run : |
307- echo "COMMIT_MSG=${{ matrix.subsystem }}: update ${{ matrix.id }} to ${{ env. NEW_VERSION }} " >> "$GITHUB_ENV"
307+ echo "COMMIT_MSG=${{ matrix.subsystem }}: update ${{ matrix.id }} to $NEW_VERSION" >> "$GITHUB_ENV"
308308 - uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
309309 if : github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id
310310 # Creates a PR or update the Action's existing PR, or
You can’t perform that action at this time.
0 commit comments