From 1543168689f516d200b4b261aa844747345322b9 Mon Sep 17 00:00:00 2001 From: Martin Mois Date: Fri, 3 Nov 2023 21:58:44 +0100 Subject: [PATCH] github.actor and github.token --- .github/workflows/mvn-site.yml | 2 +- pom.xml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mvn-site.yml b/.github/workflows/mvn-site.yml index d4f082e72..fa39f36d3 100644 --- a/.github/workflows/mvn-site.yml +++ b/.github/workflows/mvn-site.yml @@ -22,4 +22,4 @@ jobs: git config --global user.name '${{ github.actor }}' git config --global user.email '${{ github.actor }}@users.noreply.github.com' mvn install - mvn site:site site:stage scm-publish:publish-scm -Dpassword=${{ secrets.GITHUB_TOKEN }} + mvn site:site site:stage scm-publish:publish-scm -Dgithub.actor=${{ github.actor } -Dgithub.token=${{ secrets.GITHUB_TOKEN }} diff --git a/pom.xml b/pom.xml index 2dc451dbb..d9869560c 100644 --- a/pom.xml +++ b/pom.xml @@ -137,6 +137,8 @@ 1.8 siom79 japicmp + siom79 + secret false 3.6.3 1.4.1 @@ -400,7 +402,7 @@ - scm:git:https://github.com/${github.account}/${github.project}.git + scm:git:https://${github.actor}:${github.token}@github.com/${github.account}/${github.project}.git scm:git:https://github.com/${github.account}/${github.project}.git https://github.com/${github.account}/${github.project}.git japicmp-base-0.15.7