Skip to content

Gradle Dependency Graph #52

Gradle Dependency Graph

Gradle Dependency Graph #52

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@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1
with:
disable-sudo: true
egress-policy: audit
- name: Checkout
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- 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.3.2
with:
dependency-graph: generate-and-submit
arguments: dependencies