Skip to content

Commit b022b31

Browse files
authored
Not persisting credentials during checkout@v2
1 parent c07693a commit b022b31

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
- run: echo "Will release to central maven"
1414

1515
- uses: actions/checkout@v2
16+
with:
17+
persist-credentials: false
1618

1719
- name: Set up Maven Central Repository
1820
uses: actions/setup-java@v1
@@ -37,4 +39,3 @@ jobs:
3739
MAVEN_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }}
3840
MAVEN_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }}
3941
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)