diff --git a/.github/workflows/extension-release-rollback.yml b/.github/workflows/extension-release-rollback.yml index e98d1378..a9a00c81 100644 --- a/.github/workflows/extension-release-rollback.yml +++ b/.github/workflows/extension-release-rollback.yml @@ -25,11 +25,12 @@ jobs: uses: actions/checkout@v4 with: ref: main + token: ${{ secrets.BOT_TOKEN }} - name: Configure Git run: | - git config user.name "liquibot" - git config user.email "liquibot@liquibase.org" + git config --local user.email "64099989+liquibot@users.noreply.github.com" + git config --local user.name "liquibot" - name: Set up JDK uses: actions/setup-java@v3 @@ -95,6 +96,6 @@ jobs: - name: Perform Maven Release Rollback run: | mvn -B versions:revert release:rollback \ - -Darguments="-Dusername=liquibot -Dpassword=$GITHUB_TOKEN -Dmaven.javadoc.skip=true -Dmaven.test.skipTests=true -Dmaven.test.skip=true -Dmaven.deploy.skip=true" \ + -Darguments="-Dusername=liquibot -Dpassword=${{ secrets.BOT_TOKEN }} -Dmaven.javadoc.skip=true -Dmaven.test.skipTests=true -Dmaven.test.skip=true -Dmaven.deploy.skip=true" \ -DconnectionUrl=scm:git:https://github.com/${{ github.repository }}.git \ -DcheckModificationExcludeList=pom.xml \ No newline at end of file