build(deps): update snyk/actions requirement to 1d672a455ab3339ef0a0021e1ec809165ee12fad #178
Workflow file for this run
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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
# clj-watson scans dependencies in a clojure deps.edn | |
# seeking for vulnerable direct/transitive dependencies and | |
# build a report with all the information needed to help you | |
# understand how the vulnerability manifest in your software. | |
# More details at https://github.com/clj-holmes/clj-watson | |
name: clj-watson | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ "master" ] | |
schedule: | |
- cron: '33 10 * * 5' | |
permissions: | |
contents: read | |
jobs: | |
clj-holmes: | |
name: Run clj-watson scanning | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0 | |
with: | |
egress-policy: audit | |
- name: Checkout code | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Dependency scan | |
uses: clj-holmes/clj-watson-action@39b8ed306f2c125860cf6e69b6939363689f998c | |
with: | |
clj-watson-sha: "65d928c" | |
clj-watson-tag: "v4.0.1" | |
database-strategy: github-advisory | |
aliases: clojure-lsp,test | |
deps-edn-path: deps.edn | |
suggest-fix: true | |
output-type: sarif | |
output-file: clj-watson-results.sarif | |
fail-on-result: false | |
- name: Upload analysis results to GitHub | |
uses: github/codeql-action/upload-sarif@2f93e4319b2f04a2efc38fa7f78bd681bc3f7b2f # v2.23.2 | |
with: | |
sarif_file: ${{github.workspace}}/clj-watson-results.sarif | |
wait-for-processing: true |