From 40ba09e05b689e3cfb702ca1031cb4bb72d1089e Mon Sep 17 00:00:00 2001 From: Sarah Chen Date: Tue, 21 Oct 2025 13:17:34 -0400 Subject: [PATCH] Update GHA workflow commit-headless usage --- .github/workflows/create-release-branch.yaml | 2 +- .github/workflows/update-docker-build-image.yaml | 4 +--- .github/workflows/update-gradle-dependencies.yaml | 4 +--- .github/workflows/update-jmxfetch-submodule.yaml | 4 +--- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/create-release-branch.yaml b/.github/workflows/create-release-branch.yaml index bcd3bc4aa77..c58a4c57007 100644 --- a/.github/workflows/create-release-branch.yaml +++ b/.github/workflows/create-release-branch.yaml @@ -79,6 +79,6 @@ jobs: with: token: "${{ steps.octo-sts.outputs.token }}" branch: "${{ steps.define-branch.outputs.branch }}" - branch-from: "${{ github.sha }}" + create-branch: true command: push commits: "${{ steps.create-commit.outputs.commit }}" diff --git a/.github/workflows/update-docker-build-image.yaml b/.github/workflows/update-docker-build-image.yaml index 6d40e56a68d..9023079618f 100644 --- a/.github/workflows/update-docker-build-image.yaml +++ b/.github/workflows/update-docker-build-image.yaml @@ -76,9 +76,7 @@ jobs: with: token: "${{ steps.octo-sts.outputs.token }}" branch: "${{ steps.define-branch.outputs.branch }}" - # for scheduled runs, sha is the tip of the default branch - # for dispatched runs, sha is the tip of the branch it was dispatched on - branch-from: "${{ github.sha }}" + create-branch: true command: push commits: "${{ steps.create-commit.outputs.commit }}" - name: Create pull request diff --git a/.github/workflows/update-gradle-dependencies.yaml b/.github/workflows/update-gradle-dependencies.yaml index 4512fa6af38..704ce0b8b1e 100644 --- a/.github/workflows/update-gradle-dependencies.yaml +++ b/.github/workflows/update-gradle-dependencies.yaml @@ -62,9 +62,7 @@ jobs: with: token: "${{ steps.octo-sts.outputs.token }}" branch: "${{ steps.define-branch.outputs.branch }}" - # for scheduled runs, sha is the tip of the default branch - # for dispatched runs, sha is the tip of the branch it was dispatched on - branch-from: "${{ github.sha }}" + create-branch: true command: push commits: "${{ steps.create-commit.outputs.commit }}" - name: Create pull request diff --git a/.github/workflows/update-jmxfetch-submodule.yaml b/.github/workflows/update-jmxfetch-submodule.yaml index 51c38aa580f..966280f3efe 100644 --- a/.github/workflows/update-jmxfetch-submodule.yaml +++ b/.github/workflows/update-jmxfetch-submodule.yaml @@ -52,9 +52,7 @@ jobs: with: token: "${{ steps.octo-sts.outputs.token }}" branch: "${{ steps.define-branch.outputs.branch }}" - # for scheduled runs, sha is the tip of the default branch - # for dispatched runs, sha is the tip of the branch it was dispatched on - branch-from: "${{ github.sha }}" + create-branch: true command: push commits: "${{ steps.create-commit.outputs.commit }}" - name: Create pull request