Skip to content

Static Code Analysis #54

Static Code Analysis

Static Code Analysis #54

Workflow file for this run

# Scan code for security vulnerabilities using clj-holmes
name: Static Code Analysis
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '43 11 * * 3'
workflow_dispatch:
permissions:
contents: read
jobs:
clj-holmes:
# This job is intended to run on Wall Brew Co repositories only
if: github.repository_owner == 'Wall-Brew-Co'
name: Run clj-holmes scanning
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout Repository
id: checkout
uses: actions/[email protected]
- name: Scan Code
id: scan
uses: clj-holmes/clj-holmes-action@53daa4da4ff495cccf791e4ba4222a8317ddae9e
with:
output-type: 'sarif'
output-file: 'clj-holmes-results.sarif'
fail-on-result: 'false'
- name: Upload Analysis Results To GitHub Security Tab
id: upload-results
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{github.workspace}}/clj-holmes-results.sarif
# This file was automatically copied and populated by rebroadcast
# Do not edit this file directly, instead modify the source at https://github.com/Wall-Brew-Co/rebroadcast/blob/master/sources/github-actions/workflows/scanner.yml