Skip to content

blackheaven/haskell-security-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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 neneded in $PATH
        with:
          ghc-version: '9.8'

      - name: Run Haskell Security Action
        uses: blackheaven/haskell-security-action@master
        with:
          token: ${{ secrets.GITHUB_TOKEN }}

About

Scan for vulnerabilities and create advisories on GitHub

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages