Skip to content

Commit c959895

Browse files
committed
tools: use different branch for tool updates on staging branches
1 parent 59272da commit c959895

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
@@ -336,7 +336,7 @@ jobs:
336336
# no-op if the base branch is already up-to-date.
337337
with:
338338
token: ${{ secrets.GH_USER_TOKEN }}
339-
branch: actions/tools-update-${{ matrix.id }} # Custom branch *just* for this Action.
339+
branch: actions/${{ github.ref_name == 'main' || format('{0}/', github.ref_name) }}tools-update-${{ matrix.id }} # Custom branch *just* for this Action.
340340
delete-branch: true
341341
commit-message: ${{ env.COMMIT_MSG }}
342342
labels: ${{ matrix.label }}

0 commit comments

Comments
 (0)