Skip to content

Commit

Permalink
[feat] add security workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MangoIV committed Sep 9, 2024
1 parent dfab9a9 commit dca708b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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 }}

0 comments on commit dca708b

Please sign in to comment.