Gradle Dependency Graph #1222
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 | |
with: | |
disable-sudo: true | |
egress-policy: audit | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # main | |
with: | |
java-version: 17 | |
distribution: 'adopt' | |
- name: Setup Gradle to generate and submit dependency graphs | |
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # v3.5.0 | |
with: | |
dependency-graph: generate-and-submit | |
arguments: dependencies |