From e4c8ad7159e33e6417504055336d27bdde847d0d Mon Sep 17 00:00:00 2001 From: KonoTyran Date: Mon, 5 Aug 2024 08:17:06 -0700 Subject: [PATCH] Update update-dependancy-graph.yml --- .github/workflows/update-dependancy-graph.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-dependancy-graph.yml b/.github/workflows/update-dependancy-graph.yml index da68834..f61cdcc 100644 --- a/.github/workflows/update-dependancy-graph.yml +++ b/.github/workflows/update-dependancy-graph.yml @@ -1,10 +1,21 @@ name: Update Dependancy Graph -on: [push] +on: + push: + branches: [ main ] jobs: dependency-graph: + runs-on: ubuntu-latest + steps: - - name: Submit Dependency Snapshot - uses: advanced-security/maven-dependency-submission-action@v4 + - uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + cache: maven + - name: Submit Dependency Snapshot + uses: advanced-security/maven-dependency-submission-action@v4