[feat] add security workflow #1
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
name: Haskell vulnerabilities | |
on: | |
pull_request: | |
branches: [ "develop" ] | |
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 | |
with: | |
ghc-version: '9.8' | |
# FUTUREWORK(mangoiv): this should be pinned to a "stable" version as soon as released | |
- name: Run Haskell Security Action | |
uses: blackheaven/haskell-security-action@55e78bbbb19df58059c474ac9131882d0d22ecbc | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |