-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Migrates to Setup Gradle action - Adds Licensee for automatic dependency license verification - Adds CycloneDX plugin to generate SBOMs - Adds Nexus Publishing plugin to automatically close and release artifacts - Includes legal files into the Jar artifacts - Updates verification metadata {patch} Signed-off-by: Esta Nagy <[email protected]>
- Loading branch information
Showing
15 changed files
with
714 additions
and
858 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 |
---|---|---|
|
@@ -14,22 +14,24 @@ jobs: | |
name: Add OSS Index Exclusion action | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 | ||
- name: Checkout | ||
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.PUBLISH_KEY }} | ||
- name: "Add exclusion" | ||
- name: Add exclusion | ||
run: | | ||
echo "${{ github.event.inputs.exclusion }}" >> config/ossindex/exclusions.txt | ||
- name: "git branch" | ||
- name: Create git branch | ||
run: | | ||
git config --global user.name 'Esta Nagy' | ||
git config --global user.email '[email protected]' | ||
git checkout -b feature/exclude-vulnerability-run-${{ github.run_number }} | ||
git add config/ossindex/exclusions.txt | ||
git commit -asm "Excluding vulnerability ${{ github.event.inputs.exclusion }} {patch}" | ||
git push -f --set-upstream origin feature/exclude-vulnerability-run-${{ github.run_number }} | ||
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 | ||
- name: Create Pull Request | ||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 | ||
with: | ||
github-token: ${{ secrets.PUBLISH_KEY }} | ||
script: | | ||
|
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 |
---|---|---|
|
@@ -9,7 +9,8 @@ jobs: | |
name: Dependency checksum compaction action | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 | ||
- name: Checkout | ||
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.PUBLISH_KEY }} | ||
|
@@ -18,14 +19,15 @@ jobs: | |
with: | ||
distribution: temurin | ||
java-version: 17 | ||
- name: "Remove previous version" | ||
- name: Remove previous version | ||
run: cp gradle/verification-metadata-clean.xml gradle/verification-metadata.xml | ||
- name: "Update checksums" | ||
uses: gradle/gradle-build-action@4c39dd82cd5e1ec7c6fa0173bb41b4b6bb3b86ff # v3.3.2 | ||
- name: Set up Gradle | ||
uses: gradle/actions/setup-gradle@db19848a5fa7950289d3668fb053140cf3028d43 # v3.3.2 | ||
with: | ||
cache-disabled: true | ||
arguments: clean file-barj-job:checkstyleMain --write-verification-metadata sha256 | ||
- name: "Git commit" | ||
- name: Update checksums | ||
run: ./gradlew clean file-barj-job:checkstyleMain licensee --write-verification-metadata sha256 | ||
- name: Git commit | ||
run: | | ||
git config --global user.name 'Esta Nagy' | ||
git config --global user.email '[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
Oops, something went wrong.