Skip to content

Commit bca0057

Browse files
authored
Update GHA workflow commit-headless usage (#9819)
1 parent ab3fd93 commit bca0057

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

.github/workflows/create-release-branch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,6 @@ jobs:
7979
with:
8080
token: "${{ steps.octo-sts.outputs.token }}"
8181
branch: "${{ steps.define-branch.outputs.branch }}"
82-
branch-from: "${{ github.sha }}"
82+
create-branch: true
8383
command: push
8484
commits: "${{ steps.create-commit.outputs.commit }}"

.github/workflows/update-docker-build-image.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ jobs:
7676
with:
7777
token: "${{ steps.octo-sts.outputs.token }}"
7878
branch: "${{ steps.define-branch.outputs.branch }}"
79-
# for scheduled runs, sha is the tip of the default branch
80-
# for dispatched runs, sha is the tip of the branch it was dispatched on
81-
branch-from: "${{ github.sha }}"
79+
create-branch: true
8280
command: push
8381
commits: "${{ steps.create-commit.outputs.commit }}"
8482
- name: Create pull request

.github/workflows/update-gradle-dependencies.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ jobs:
6262
with:
6363
token: "${{ steps.octo-sts.outputs.token }}"
6464
branch: "${{ steps.define-branch.outputs.branch }}"
65-
# for scheduled runs, sha is the tip of the default branch
66-
# for dispatched runs, sha is the tip of the branch it was dispatched on
67-
branch-from: "${{ github.sha }}"
65+
create-branch: true
6866
command: push
6967
commits: "${{ steps.create-commit.outputs.commit }}"
7068
- name: Create pull request

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ jobs:
5252
with:
5353
token: "${{ steps.octo-sts.outputs.token }}"
5454
branch: "${{ steps.define-branch.outputs.branch }}"
55-
# for scheduled runs, sha is the tip of the default branch
56-
# for dispatched runs, sha is the tip of the branch it was dispatched on
57-
branch-from: "${{ github.sha }}"
55+
create-branch: true
5856
command: push
5957
commits: "${{ steps.create-commit.outputs.commit }}"
6058
- name: Create pull request

0 commit comments

Comments
 (0)