Skip to content

Commit

Permalink
build(java): update autorelease script (#826)
Browse files Browse the repository at this point in the history
Noticed the workflow was getting skipped on all the release PRs. Updating due to recent update in release-please branch name.

Source-Author: Stephanie Wang <stephaniewang526@users.noreply.github.com>
Source-Date: Tue Feb 9 19:10:03 2021 -0500
Source-Repo: googleapis/synthtool
Source-Sha: 2414b817065726eae0bc525346c7e874f969369d
Source-Link: googleapis/synthtool@2414b81
  • Loading branch information
yoshi-automation committed Feb 10, 2021
1 parent 88b9f6c commit d656507
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-release.yaml
Expand Up @@ -4,7 +4,7 @@ name: auto-release
jobs:
approve:
runs-on: ubuntu-latest
if: contains(github.head_ref, 'release-v')
if: contains(github.head_ref, 'release-please')
steps:
- uses: actions/github-script@v3
with:
Expand All @@ -16,7 +16,7 @@ jobs:
return;
}
// only approve PRs like "chore: release <release version>"
// only approve PRs like "chore(master): release <release version>"
if ( !context.payload.pull_request.title.startsWith("chore(master): release") ) {
return;
}
Expand Down
4 changes: 2 additions & 2 deletions synth.metadata
Expand Up @@ -11,7 +11,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-bigquerystorage.git",
"sha": "ba4b1a2d8eaa8f5408e476a3b570cb508aa94f57"
"sha": "88b9f6c1dd58e15e63a5014437398252babb3c3e"
}
},
{
Expand Down Expand Up @@ -50,7 +50,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5"
"sha": "2414b817065726eae0bc525346c7e874f969369d"
}
}
],
Expand Down

0 comments on commit d656507

Please sign in to comment.