Sjekk kodekvalitet for commit b2f9345d50c201a2dfa9f71a85ee83616820b2ff #6333
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Sjekk kodekvalitet" | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
paths: | |
- "**/*.js" | |
- "**/*.ts" | |
- "**/*.tsx" | |
- "pnpm-lock.yaml" | |
schedule: | |
- cron: "0 18 * * 3" | |
run-name: Sjekk kodekvalitet for commit ${{ github.sha }} | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
language: ["javascript"] | |
permissions: | |
contents: read | |
security-events: write | |
pull-requests: read | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Initialize CodeQL | |
if: ${{ !contains(github.event.head_commit.message, '[ci skip release]') }} | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Perform CodeQL Analysis | |
if: ${{ !contains(github.event.head_commit.message, '[ci skip release]') }} | |
uses: github/codeql-action/analyze@v2 |