diff --git a/.github/workflows/submit-github-dependency-graph.yml b/.github/workflows/submit-github-dependency-graph.yml new file mode 100644 index 0000000000..c705484a9c --- /dev/null +++ b/.github/workflows/submit-github-dependency-graph.yml @@ -0,0 +1,25 @@ +name: Submit Gradle Dependency Graph For Dependabot + +on: + push: + branches: ['main'] + +permissions: + contents: write + +jobs: + dependency-submission: + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v4 + - name: Setup Java + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: 17 + - name: Generate and submit dependency graph + uses: gradle/actions/dependency-submission@v4 + with: + # The gradle project is not in the root of the repository. + build-root-directory: extensions/intellij