From 52e6eb93a86dc8fd8cb25a57ef0ae9514f76eba9 Mon Sep 17 00:00:00 2001 From: Oliver Weyhmueller Date: Tue, 7 Jan 2025 11:58:38 +0100 Subject: [PATCH] chore: update input vars --- .forgejo/workflows/release.yaml | 20 ++++++++++---------- .forgejo/workflows/sonarqube.yaml | 24 ++++++++++++------------ 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.forgejo/workflows/release.yaml b/.forgejo/workflows/release.yaml index fbae5ae..dfc4a46 100644 --- a/.forgejo/workflows/release.yaml +++ b/.forgejo/workflows/release.yaml @@ -18,13 +18,13 @@ jobs: with: fetch-depth: 0 - - name: Initialize Environment - uses: https://w9r.dev/w9r.dev/action-setup-environment@v1 + - name: "Initialize Environment" + uses: https://w9r.dev/w9r.dev/action-setup-environment@v1.0.4 with: - vault-role-id: ${{ secrets.VAULT_ROLE_ID }} - vault-secret-id: ${{ secrets.VAULT_SECRET_ID }} + roleid: ${{ secrets.VAULT_ROLE_ID }} + secretid: ${{ secrets.VAULT_SECRET_ID }} - - name: Determine next version + - name: "Determine next version" uses: https://github.com/obfu5c8/action-svu@v1 id: generate_next_version with: @@ -37,7 +37,7 @@ jobs: prefix: '' suffix: '' - - name: Set new version + - name: "Set new version" env: MAVEN_USERNAME: ${{ env.NEXUS_USERNAME }} MAVEN_CENTRAL_TOKEN: ${{ env.NEXUS_PASSWORD }} @@ -48,7 +48,7 @@ jobs: echo "New version: $NEW_VERSION" mvn -B --file pom.xml versions:set -DnewVersion=${{ env.NEW_VERSION }} - - name: Run JReleaser (Changelog) + - name: "Run JReleaser (Changelog)" uses: https://w9r.dev/actions/release-action@main with: arguments: changelog --debug @@ -62,7 +62,7 @@ jobs: JRELEASER_GPG_PUBLIC_KEY: ${{ env.GPG_PUBLIC_KEY }} JRELEASER_GPG_SECRET_KEY: ${{ env.GPG_PRIVATE_KEY }} - - name: Commit and push changes + - name: "Commit and push changes" run: | git config --global user.email "${{ steps.import-gpg.outputs.email }}" git config --global user.name "${{ steps.import-gpg.outputs.name }}" @@ -76,7 +76,7 @@ jobs: mvn --file pom.xml -Ppublication - - name: Run JReleaser (Assemble) + - name: "Run JReleaser (Assemble)" uses: https://w9r.dev/actions/release-action@main with: arguments: assemble --debug @@ -90,7 +90,7 @@ jobs: JRELEASER_GPG_PUBLIC_KEY: ${{ env.GPG_PUBLIC_KEY }} JRELEASER_GPG_SECRET_KEY: ${{ env.GPG_PRIVATE_KEY }} - - name: Run JReleaser (Release) + - name: "Run JReleaser (Release)" uses: https://w9r.dev/actions/release-action@main with: arguments: release --debug diff --git a/.forgejo/workflows/sonarqube.yaml b/.forgejo/workflows/sonarqube.yaml index 0e31fa2..6f1cb69 100644 --- a/.forgejo/workflows/sonarqube.yaml +++ b/.forgejo/workflows/sonarqube.yaml @@ -10,7 +10,7 @@ on: name: SonarQube Scan jobs: sonarqube: - name: SonarQube Trigger + name: "SonarQube Trigger" runs-on: ubuntu-latest steps: @@ -19,21 +19,21 @@ jobs: with: fetch-depth: 0 - - name: Initialize Environment - uses: https://w9r.dev/w9r.dev/action-setup-environment@v1 + - name: "Initialize Environment" + uses: https://w9r.dev/w9r.dev/action-setup-environment@v1.0.4 with: - vault-role-id: ${{ secrets.VAULT_ROLE_ID }} - vault-secret-id: ${{ secrets.VAULT_SECRET_ID }} + roleid: "${{ secrets.VAULT_ROLE_ID }}" + secretid: "${{ secrets.VAULT_SECRET_ID }}" - - name: Cache SonarQube packages + - name: "Cache SonarQube packages" uses: https://github.com/actions/cache@v4 with: path: ~/.sonar/cache - key: ${{ runner.os }}-sonar - restore-keys: ${{ runner.os }}-sonar + key: ""${{ runner.os }}-sonar" + restore-keys: ""${{ runner.os }}-sonar" - - name: SonarQube Scan + - name: "SonarQube Scan" env: - SONAR_TOKEN: ${{ env.SONARQUBE_TOKEN }} - SONAR_HOST_URL: ${{ env.SONARQUBE_HOST }} - run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar + SONAR_TOKEN: "${{ env.SONARQUBE_TOKEN }}" + SONAR_HOST_URL: "${{ env.SONARQUBE_HOST }}" + run: "mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar"