Skip to content

Commit 2414b81

Browse files
build(java): update autorelease script (#945)
Noticed the workflow was getting skipped on all the release PRs. Updating due to recent update in release-please branch name.
1 parent 4679e7e commit 2414b81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

synthtool/gcp/templates/java_library/.github/workflows/auto-release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: auto-release
44
jobs:
55
approve:
66
runs-on: ubuntu-latest
7-
if: contains(github.head_ref, 'release-v')
7+
if: contains(github.head_ref, 'release-please')
88
steps:
99
- uses: actions/github-script@v3
1010
with:
@@ -16,7 +16,7 @@ jobs:
1616
return;
1717
}
1818
19-
// only approve PRs like "chore: release <release version>"
19+
// only approve PRs like "chore(master): release <release version>"
2020
if ( !context.payload.pull_request.title.startsWith("chore(master): release") ) {
2121
return;
2222
}

0 commit comments

Comments
 (0)