-
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.
- Adds Nexus plugin to have automatic releases - Adds Licensee plugin for dependency license verification - Adds CycloneDX plugin to generate SBOM - Adds Grunt plugin to collect dependency licenses - Includes LICENSE, SBOM, Licensee Report and NodeJS dependency licenses in META-INF - Switches to Setup Gradle action from deprecated Gradle Build Action - Names earlier unnamed Steps of the workflows - Trims dependency verification metadata {patch} Signed-off-by: Esta Nagy <[email protected]>
- Loading branch information
Showing
15 changed files
with
1,193 additions
and
1,539 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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 | ||
- name: Checkout | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 | ||
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 PR | ||
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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 | ||
- name: Checkout | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.PUBLISH_KEY }} | ||
|
@@ -18,22 +19,24 @@ 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: --write-verification-metadata sha256 | ||
- name: "Git commit" | ||
- name: Update checksums | ||
run: ./gradlew help licensee --write-verification-metadata sha256 | ||
- name: Git commit | ||
run: | | ||
git config --global user.name 'Esta Nagy' | ||
git config --global user.email '[email protected]' | ||
git checkout -b feature/update-dependency-checksums-${{ github.run_number }} | ||
git add gradle/verification-metadata.xml | ||
git commit -asm "Updating dependency checksums {patch}" | ||
git push -f --set-upstream origin feature/update-dependency-checksums-${{ github.run_number }} | ||
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 | ||
- name: Create PR | ||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 | ||
with: | ||
github-token: ${{ secrets.PUBLISH_KEY }} | ||
script: | | ||
|
Oops, something went wrong.