Skip to content

Commit

Permalink
Added OSSF security analysis workflow (scorecard)
Browse files Browse the repository at this point in the history
  • Loading branch information
iWas-Coder committed Oct 4, 2024
1 parent d1e3c1e commit 734bbef
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/security-analysis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: security-analysis

on:
push:
branches: [master]
paths: ['.github/workflows/security-analysis.yaml']
schedule:
- cron: '0 9 * * 1'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

jobs:
security-analysis:
permissions:
id-token: write
security-events: write
runs-on: ubuntu-latest
steps:
- name: checkout-repo
uses: actions/checkout@v4
- name: run-checks
uses: ossf/scorecard-action@v2.4.0
with:
results_format: sarif
results_file: results.sarif
publish_results: true
- name: upload-results
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif

0 comments on commit 734bbef

Please sign in to comment.