mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
tools: do not use the set-output command in workflows
The `set-output` command is deprecated. Use the `GITHUB_OUTPUT` environment file. Refs: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ PR-URL: https://github.com/nodejs/node/pull/45024 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
d41f8ffc36
commit
a70b27629f
4 files changed
+11
-9
No files matched your search
@@ -33,13 +33,14 @@ jobs:
|
||||
- name: Get Pull Requests
|
||||
id: get_mergeable_prs
|
||||
run: >
|
||||
gh pr list \
|
||||
numbers=$(gh pr list \
|
||||
--repo ${{ github.repository }} \
|
||||
--base ${{ github.ref_name }} \
|
||||
--label 'commit-queue' \
|
||||
--json 'number' \
|
||||
-t '::set-output name=numbers::{{ range . }}{{ .number }} {{ end }}' \
|
||||
--limit 100
|
||||
-t '{{ range . }}{{ .number }} {{ end }}' \
|
||||
--limit 100)
|
||||
echo "numbers=$numbers" >> $GITHUB_OUTPUT
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
commitQueue:
|
||||
|
||||
Reference in new issue
Block a user