Skip to content

Commit

Permalink
build(java): update autorelease script (#373)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/8ae9af40-372e-4b53-9579-33a36c0aa209/targets

- [ ] To automatically regenerate this PR, check this box.

Source-Link: googleapis/synthtool@2414b81
  • Loading branch information
yoshi-automation authored Feb 10, 2021
1 parent 085ed7a commit 05f389b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions java-core/.github/workflows/auto-release.yaml
Original file line number Diff line number Diff line change
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 java-core/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-core.git",
"sha": "32797f6acc22874bb3144d76f214ff3a48aa65b5"
"sha": "313193509ee7fa0e694188f9266c54c029a582c6"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5"
"sha": "2414b817065726eae0bc525346c7e874f969369d"
}
}
],
Expand Down

0 comments on commit 05f389b

Please sign in to comment.