Skip to content

Commit

Permalink
ci: fix Scorecard issues
Browse files Browse the repository at this point in the history
  • Loading branch information
achrinza committed Nov 9, 2023
1 parent 1b9571f commit 9d5ce5f
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "CodeQL"
name: CodeQL

on:
push:
Expand All @@ -9,20 +9,32 @@ on:
schedule:
- cron: '0 13 * * 6'

permissions: {}

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read

steps:
- uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0
with:
disable-sudo: true
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
persist-credentials: false

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@74483a38d39275f33fcff5f35b679b5ca4a26a99 # v2.22.5
with:
languages: 'javascript'
config-file: ./.github/codeql/codeql-config.yml
languages: javascript-typescript74483a38d39275f33fcff5f35b679b5ca4a26a9974483a38d39275f33fcff5f35b679b5ca4a26a99
config-file: .github/codeql/codeql-config.yml

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@74483a38d39275f33fcff5f35b679b5ca4a26a99 # 2.22.5

0 comments on commit 9d5ce5f

Please sign in to comment.