From 355133a2879bf58c1dfad25adc0d62170a949de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Muller?= Date: Fri, 2 Feb 2024 09:03:34 +0100 Subject: [PATCH] Add a workflow to submit dependency graph when pushing on `main` --- .github/workflows/dependency_graph.yml | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/dependency_graph.yml diff --git a/.github/workflows/dependency_graph.yml b/.github/workflows/dependency_graph.yml new file mode 100644 index 000000000..423632293 --- /dev/null +++ b/.github/workflows/dependency_graph.yml @@ -0,0 +1,27 @@ +name: Submit dependency graph + +on: + push: + branches: + - main + +jobs: + submit-dependency-graph: + name: Submit dependency graph + runs-on: ubuntu-latest + permissions: + contents: write + env: + USERNAME: ${{ github.actor }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + - name: Submit dependency graph + uses: gradle/actions/dependency-submission@v3 + with: + cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}