From b7405c2706d37b93de413b0208155cdd512b3013 Mon Sep 17 00:00:00 2001 From: Roberto Tyley Date: Thu, 20 Jun 2024 08:18:42 +0100 Subject: [PATCH] Use token auth for Sonatype - see https://github.com/guardian/gha-scala-library-release-workflow/pull/23 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4ee469d..b0af387 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,6 @@ jobs: uses: guardian/gha-scala-library-release-workflow/.github/workflows/reusable-release.yml@main permissions: { contents: write, pull-requests: write } secrets: - SONATYPE_PASSWORD: ${{ secrets.AUTOMATED_MAVEN_RELEASE_SONATYPE_PASSWORD }} + SONATYPE_TOKEN: ${{ secrets.AUTOMATED_MAVEN_RELEASE_SONATYPE_TOKEN }} PGP_PRIVATE_KEY: ${{ secrets.AUTOMATED_MAVEN_RELEASE_PGP_SECRET }} GITHUB_APP_PRIVATE_KEY: ${{ secrets.AUTOMATED_MAVEN_RELEASE_GITHUB_APP_PRIVATE_KEY }}