Gradle Dependency Graph #1580
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@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
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@8df1039502a15bceb9433410b1a100fbe190c53b # 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 |