Skip to content

Commit 1832156

Browse files
Copilotgcatanese
andauthored
Remove redundant secret exposure in Maven publish workflow (#1624)
* Initial plan * Remove redundant env block from Maven Central publish step Co-authored-by: gcatanese <1771700+gcatanese@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: gcatanese <1771700+gcatanese@users.noreply.github.com>
1 parent e456038 commit 1832156

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,3 @@ jobs:
3434

3535
- name: Publish to Apache Maven Central
3636
run: mvn deploy
37-
env:
38-
MAVEN_USERNAME: ${{ secrets.SONATYPE_CENTRAL_PORTAL_USERNAME}}
39-
MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_CENTRAL_PORTAL_PASSWORD }}
40-
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)