-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix/changelog-action
- Loading branch information
Showing
13 changed files
with
59 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[bumpversion] | ||
current_version = 1.50.4 | ||
current_version = 1.53.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,11 @@ on: | |
required: false | ||
default: true | ||
type: boolean | ||
changelog-file: | ||
description: Path to the changelog file in the GitHub repository | ||
required: false | ||
default: "CHANGELOG.md" | ||
type: string | ||
changelog-config: | ||
description: "Changelog config path." | ||
required: false | ||
|
@@ -69,12 +74,12 @@ jobs: | |
|
||
- name: Create changelog | ||
id: build-changelog | ||
uses: bakdata/ci-templates/actions/changelog-generate@1.50.0 | ||
uses: bakdata/ci-templates/actions/changelog-generate@1.52.1 | ||
if: ${{ inputs.changelog }} | ||
with: | ||
github-token: ${{ secrets.github-token }} | ||
tag: ${{ steps.bump-version.outputs.release-version }} | ||
changelog-file: CHANGELOG.md | ||
changelog-file: ${{ inputs.changelog-file }} | ||
|
||
- name: Commit and push changes including .bumpversion.cfg file | ||
uses: bakdata/ci-templates/actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,10 +40,20 @@ inputs: | |
description: "Key ring (base64 encoded) for signing the Sonatype publication." | ||
required: false | ||
sonar-organization: | ||
description: "Organization for Sonarcloud." | ||
description: "Organization for Sonarqube." | ||
required: false | ||
sonar-token: | ||
description: "Token for Sonarcloud." | ||
description: "Token for Sonarqube." | ||
required: false | ||
sonar-host: | ||
description: "Host for Sonarqube." | ||
required: false | ||
default: "https://sonarcloud.io" | ||
sonar-project-key: | ||
description: "Project key for Sonarqube." | ||
required: false | ||
sonar-project-name: | ||
description: "Project name for Sonarqube." | ||
required: false | ||
working-directory: | ||
description: "Working directory of your Gradle artifacts. (Default is .)" | ||
|
@@ -52,7 +62,6 @@ inputs: | |
|
||
runs: | ||
using: "composite" | ||
if: "!contains(github.repository, 'playground')" | ||
steps: | ||
- name: Check out repository | ||
uses: bakdata/ci-templates/actions/[email protected] | ||
|
@@ -70,8 +79,15 @@ runs: | |
|
||
# sonar.branch.autoconfig.disabled is necessary for autocreation of projects on Sonarcloud to work | ||
- name: Assess code quality | ||
if: ${{ inputs.sonar-token != '' && inputs.sonar-organization != '' }} | ||
run: ./gradlew -Dsonar.branch.autoconfig.disabled=true -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=${{ inputs.sonar-organization }} --info --stacktrace sonarqube ${{ inputs.gradle-refresh-dependencies == 'true' && '--refresh-dependencies' || '' }} | ||
if: ${{ inputs.sonar-token != '' }} | ||
run: | | ||
./gradlew -Dsonar.branch.autoconfig.disabled=true \ | ||
-Dsonar.host.url=${{ inputs.sonar-host }} \ | ||
${{ (inputs.sonar-organization != '' && format('-Dsonar.organization={0}', inputs.sonar-organization)) || '' }} \ | ||
${{ (inputs.sonar-project-key != '' && format('-Dsonar.projectKey={0}', inputs.sonar-project-key)) || '' }} \ | ||
${{ (inputs.sonar-project-name != '' && format('-Dsonar.projectName={0}', inputs.sonar-project-name)) || '' }} \ | ||
--info --stacktrace sonarqube \ | ||
${{ inputs.gradle-refresh-dependencies == 'true' && '--refresh-dependencies' || '' }} | ||
shell: bash | ||
working-directory: ${{ inputs.working-directory }} | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters