Skip to content

Commit 4b9cfe8

Browse files
authored
Merge pull request #2025 from microsoftgraph/fix/manual-maven-release-step
Trigger maven releases on tags by release-please only
2 parents 20f146a + 1a2dcfb commit 4b9cfe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/preview-and-release.yml

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

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

0 commit comments

Comments
 (0)