mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:42:31 -05:00
tools: use different branch for tool updates on staging branches
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: https://github.com/nodejs/node/pull/63110 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
This commit is contained in:
1 parent
51609e77e5
commit
1870580609
1 file changed
+1
-1
@@ -320,7 +320,7 @@ jobs:
|
||||
# no-op if the base branch is already up-to-date.
|
||||
with:
|
||||
token: ${{ secrets.GH_USER_TOKEN }}
|
||||
branch: actions/tools-update-${{ matrix.id }} # Custom branch *just* for this Action.
|
||||
branch: actions/${{ github.ref_name == 'main' || format('{0}/', github.ref_name) }}tools-update-${{ matrix.id }} # Custom branch *just* for this Action.
|
||||
delete-branch: true
|
||||
commit-message: ${{ env.COMMIT_MSG }}
|
||||
labels: ${{ matrix.label }}
|
||||
|
||||
Reference in new issue
Block a user