| 1 | name: Submit Gradle Dependency Graph For Dependabot |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: ["main"] |
| 6 | |
| 7 | permissions: |
| 8 | contents: write |
| 9 | |
| 10 | jobs: |
| 11 | dependency-submission: |
| 12 | runs-on: ubuntu-latest |
| 13 | steps: |
| 14 | - name: Checkout sources |
| 15 | uses: actions/checkout@v5 |
| 16 | - name: Setup Java |
| 17 | uses: actions/setup-java@v5 |
| 18 | with: |
| 19 | distribution: "temurin" |
| 20 | java-version: 17 |
| 21 | - name: Generate and submit dependency graph |
| 22 | uses: gradle/actions/dependency-submission@v4 |
| 23 | with: |
| 24 | # The gradle project is not in the root of the repository. |
| 25 | build-root-directory: extensions/intellij |