Skip to content

Commit bb1e228

Browse files
committed
Trigger release only on tags by release-please
1 parent b5e171b commit bb1e228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: ./gradlew $PREVIEW_TASK
5353

5454
maven_Release:
55-
if: startsWith(github.ref, 'refs/tags/')
55+
if: ${{ startsWith(github.ref, 'refs/tags/') && github.actor == 'release-please[bot]'}}
5656
environment:
5757
name: maven_central_release
5858
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)