Skip to content

Commit b8510b0

Browse files
aduh95juanarbol
authored andcommitted
tools: use different branch for tool updates on staging branches
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: #63110 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
1 parent 26f3d51 commit b8510b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/tools.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ jobs:
306306
# no-op if the base branch is already up-to-date.
307307
with:
308308
token: ${{ secrets.GH_USER_TOKEN }}
309-
branch: actions/tools-update-${{ matrix.id }} # Custom branch *just* for this Action.
309+
branch: actions/${{ github.ref_name == 'main' || format('{0}/', github.ref_name) }}tools-update-${{ matrix.id }} # Custom branch *just* for this Action.
310310
delete-branch: true
311311
commit-message: ${{ env.COMMIT_MSG }}
312312
labels: ${{ matrix.label }}

0 commit comments

Comments
 (0)