Skip to content

About

Scan for vulnerabilities and create advisories on GitHub

Resources

Contributing

Stars

9 stars

Watchers

1 watching

Forks

Latest commit

 

History

52 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

haskell-security-action

Scan for vulnerabilities and create advisories on GitHub.

Usage

name: Scan for vulnerabilities
on:
  # Scan for each push event on your protected branch
  # push:
    # branches: [ "main" ]
  # Scan for pull requests
  # pull_request:
    # branches: [ "main" ]
  # Schedule a daily scan at midnight
  schedule:
    - cron: '0 0 * * *'
  workflow_dispatch:

jobs:
  haskell-security:
    runs-on: ubuntu-latest
    permissions:
      security-events: write
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4

      - uses: haskell-actions/setup@v2 # GHC is needed in $PATH
        with:
          ghc-version: '9.8'

      - name: Run Haskell Security Action
        uses: blackheaven/haskell-security-action@master
        # optional: override the cabal-audit binary location
        # with:
        #   binary_url: https://github.com/MangoIV/cabal-audit/releases/download/nightly/cabal-audit
        with:
          token: ${{ secrets.GITHUB_TOKEN }}

About

Scan for vulnerabilities and create advisories on GitHub

Resources

Contributing

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages