Skip to content

Commit

Permalink
Add a workflow to submit dependency graph when pushing on main
Browse files Browse the repository at this point in the history
  • Loading branch information
MGaetan89 committed Feb 2, 2024
1 parent b9942d5 commit 355133a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/dependency_graph.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 355133a

Please sign in to comment.