Bump io.quarkiverse.wiremock:quarkus-wiremock-test from 1.4.0 to 1.4.1 in /backend #155
Workflow file for this run
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
name: Upload BOM to Dependency-Track | |
on: | |
push: | |
paths: | |
- backend/** | |
- .github/workflows/dependency-track-analysis.yml | |
branches: [ "main" ] | |
pull_request: | |
paths: | |
- backend/** | |
- .github/workflows/dependency-track-analysis.yml | |
types: [ opened, reopened, synchronize ] | |
jobs: | |
upload-bom: | |
if: ${{ !startsWith(github.ref, 'refs/heads/dependabot') }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
projectName: [ "app.hopps.org", "app.hopps.az-document-ai", "app.hopps.fin" ] | |
steps: | |
# Checkout the code | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "21" | |
distribution: "temurin" | |
cache: maven | |
- name: mvn makeAggregateBom | |
run: mvn org.cyclonedx:cyclonedx-maven-plugin:2.8.0:makeBom --file backend/pom.xml | |
- name: Get current project version | |
uses: avides/[email protected] | |
id: project_version | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
file-to-check: "backend/${{ matrix.projectName }}/pom.xml" | |
only-return-version: true | |
# Upload the SBOM to Dependency-Track | |
- name: Upload BOM to Dependency-Track | |
uses: DependencyTrack/[email protected] | |
with: | |
apiKey: ${{ secrets.DEPENDENCYTRACK_APIKEY }} | |
serverHostname: "dtrack.hopps.cloud" | |
bomFilename: "backend/${{ matrix.projectName }}/target/bom.xml" | |
projectName: "${{ matrix.projectName }}" | |
projectVersion: "${{ steps.project_version.outputs.version }}" | |
autoCreate: true |