Skip to content

Switch haskell hlint to new repos after main repo split (#772) #122

Switch haskell hlint to new repos after main repo split (#772)

Switch haskell hlint to new repos after main repo split (#772) #122

Workflow file for this run

name: Scorecards supply-chain security
on:
branch_protection_rule:
schedule:
- cron: '33 18 * * 5'
push:
branches: [master]
permissions: {}
jobs:
analysis:
if: github.repository == 'mihaimaruseac/hindent' # Don't do this in forks
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
security-events: write
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
persist-credentials: false
- name: Run analysis
uses: ossf/scorecard-action@483ef80eb98fb506c348f7d62e28055e49fe2398 # v2.3.0
with:
results_file: results.sarif
results_format: sarif
publish_results: true
- name: Upload artifact
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: SARIF file
path: results.sarif
retention-days: 5
# Upload the results to GitHub's code scanning dashboard.
- name: Upload to code-scanning
uses: github/codeql-action/upload-sarif@2cb752a87e96af96708ab57187ab6372ee1973ab # v2.22.0
with:
sarif_file: results.sarif