Skip to content

Commit

Permalink
build(java): update autorelease script (#945)
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.
  • Loading branch information
stephaniewang526 authored Feb 10, 2021
1 parent 4679e7e commit 2414b81
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 2414b81

Please sign in to comment.