Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9a1e314

Browse filesBrowse files
lemiremarco-ippolito
authored andcommitted
tools: fix tools-deps-update
PR-URL: #56684 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
1 parent 68548dc commit 9a1e314
Copy full SHA for 9a1e314

File tree

Expand file treeCollapse file tree

1 file changed

+8
-6
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-6
lines changed
Open diff view settings
Collapse file

‎.github/workflows/tools.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/tools.yml
+8-6Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,10 @@ jobs:
288288
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
289289
rm temp-output
290290
steps:
291+
- name: Setup Git config
292+
run: |
293+
git config --global user.name "Node.js GitHub Bot"
294+
git config --global user.email "github-bot@iojs.org"
291295
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
292296
if: github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id
293297
with:
@@ -305,17 +309,15 @@ jobs:
305309
if: env.COMMIT_MSG == '' && (github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id)
306310
run: |
307311
echo "COMMIT_MSG=${{ matrix.subsystem }}: update ${{ matrix.id }} to ${{ env.NEW_VERSION }}" >> "$GITHUB_ENV"
308-
- uses: gr2m/create-or-update-pull-request-action@86ec1766034c8173518f61d2075cc2a173fb8c97 # v1.9.4
312+
- uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
309313
if: github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id
310314
# Creates a PR or update the Action's existing PR, or
311315
# no-op if the base branch is already up-to-date.
312-
env:
313-
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
314316
with:
315-
author: Node.js GitHub Bot <github-bot@iojs.org>
316-
body: This is an automated update of ${{ matrix.id }} to ${{ env.NEW_VERSION }}.
317+
token: ${{ secrets.GH_USER_TOKEN }}
317318
branch: actions/tools-update-${{ matrix.id }} # Custom branch *just* for this Action.
319+
delete-branch: true
318320
commit-message: ${{ env.COMMIT_MSG }}
319321
labels: ${{ matrix.label }}
320322
title: '${{ matrix.subsystem }}: update ${{ matrix.id }} to ${{ env.NEW_VERSION }}'
321-
update-pull-request-title-and-body: true
323+
body: This is an automated update of ${{ matrix.id }} to ${{ env.NEW_VERSION }}.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.