Skip to content

Merge pull request #161 from gradle/dependabot/github_actions/actions… #18

Merge pull request #161 from gradle/dependabot/github_actions/actions…

Merge pull request #161 from gradle/dependabot/github_actions/actions… #18

name: Submit GitHub Dependency Graph
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: write
jobs:
generate-and-submit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
- name: Set up Gradle
uses: gradle/gradle-build-action@v2
with:
dependency-graph: generate-and-submit
- name: Run gradle to resolve dependencies
run: ./gradlew :GitHubDependencyGraphPlugin_generateDependencyGraph
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}