Skip to content

Commit 18e47a8

Browse files
committed
Re-add step to create branch
1 parent 51a8e1b commit 18e47a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/update-jmxfetch-submodule.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
- name: Pick a branch name
2525
id: define-branch
2626
run: echo "branch=ci/update-jmxfetch-submodule-$(date +'%Y%m%d')" >> $GITHUB_OUTPUT
27+
- name: Create branch
28+
run: |
29+
git checkout -b ${{ steps.define-branch.outputs.branch }}
30+
git push -u origin ${{ steps.define-branch.outputs.branch }} --force
2731
- name: Commit and push changes
2832
env:
2933
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)