Update schema attribute for SARIF 2.1.0 Errata 01 (#144) #47
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: "Dependencies" | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
dependency-submission: | |
name: "Submit Dependency Graph" | |
runs-on: ubuntu-latest | |
permissions: | |
# The Dependency Submission API requires write permission. | |
contents: write | |
steps: | |
- name: "Checkout sources" | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: "Set up Java" | |
uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4 | |
with: | |
distribution: 'temurin' | |
java-version-file: '.java-version' | |
- name: "Generate and submit dependency graph" | |
# Note: this `uses: gradle/actions/setup-gradle@v3` under the hood. | |
uses: gradle/actions/dependency-submission@d156388eb19639ec20ade50009f3d199ce1e2808 # v4 |