Skip to content

Gradle Dependency Graph #391

Gradle Dependency Graph

Gradle Dependency Graph #391

name: Gradle Dependency Graph
on:
schedule:
- cron: '0 */6 * * *'
push:
branches: main
permissions:
contents: read
jobs:
gradle-action-detection:
if: ${{ github.repository_owner == 'ihub-pub' }}
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
disable-sudo: true
egress-policy: audit
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up JDK 17
uses: actions/setup-java@main
with:
java-version: 17
distribution: 'adopt'
- name: Setup Gradle to generate and submit dependency graphs
uses: gradle/gradle-build-action@v3.4.2
with:
dependency-graph: generate-and-submit
arguments: dependencies