Skip to content

CodeQL

CodeQL #1870

name: "CodeQL"
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
schedule:
- cron: "0 6 * * 0" # 06:00 every Sunday
workflow_dispatch:
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 tools for scanning
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3