Skip to content

Commit

Permalink
Add code quality workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sej3506 committed Sep 12, 2024
1 parent 90f1029 commit 9f75fac
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: "CodeQL"

on:
schedule:
- cron: '56 11 * * 5'

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

strategy:
fail-fast: false
matrix:
language: [ 'ruby' ]

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"

0 comments on commit 9f75fac

Please sign in to comment.