Skip to content

Commit

Permalink
chore: add commitlint analysis workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellmueller committed Nov 29, 2024
1 parent 9c87aa7 commit b394222
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- cron: "0 11 * * 0" # 3 AM PST = 12 PM UDT, runs sundays
workflow_dispatch:

permissions: # used for commitlint
contents: read
pull-requests: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -80,6 +84,14 @@ jobs:
with:
sarif_file: "trivy-results.sarif"

commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: wagoid/commitlint-github-action@v6
with:
configFile: '.commitlintrc.yml'

results:
name: Analysis Results
needs: [tests] # Restore trivy when/if fixed
Expand Down

0 comments on commit b394222

Please sign in to comment.