Skip to content

migrate to the new setup-gradle and dependency-submission actions (#1… #2

migrate to the new setup-gradle and dependency-submission actions (#1…

migrate to the new setup-gradle and dependency-submission actions (#1… #2

name: Retrieve and submit dependency graph
permissions: read-all
on:
workflow_run:
workflows: ['Generate and save dependency graph']
types: [completed]
env:
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
JAVA_VERSION: 21
jobs:
submit-dependency-graph:
runs-on: ubuntu-latest
permissions:
contents: write
steps:

Check failure on line 18 in .github/workflows/dependency-submission-pr-retreive.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/dependency-submission-pr-retreive.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
- name: Harden Runner
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.adoptium.net:443
api.github.com:443
caffeine.gradle-enterprise.cloud:443
downloads.gradle.org:443
downloads.gradle-dn.com:443
github.com:443
jcenter.bintray.com:443
objects.githubusercontent.com:443
plugins.gradle.org:443
plugins-artifacts.gradle.org:443
repo.maven.apache.org:443
repo1.maven.org:443
services.gradle.org:443
- name: Retrieve and submit dependency graph
uses: gradle/actions/dependency-submission@b6816cf21e7970b88479bb3c57d9cbe5cdd4b949 # v3.0.0-rc.1
with:
dependency-graph-action: retrieve-and-submit