From bae58d1c3d3cdd02813445a0abcdb13f515ae386 Mon Sep 17 00:00:00 2001 From: "M.P. Korstanje" Date: Thu, 16 Apr 2026 14:46:16 +0200 Subject: [PATCH] ruby: Enable CodeQL --- .github/workflows/codeql-ruby.yaml | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/codeql-ruby.yaml diff --git a/.github/workflows/codeql-ruby.yaml b/.github/workflows/codeql-ruby.yaml new file mode 100644 index 00000000..81863f43 --- /dev/null +++ b/.github/workflows/codeql-ruby.yaml @@ -0,0 +1,36 @@ +name: codeql-ruby + +permissions: { } + +on: + push: + branches: + - main + pull_request: + branches: + - main + schedule: + - cron: '35 11 * * 2' + +concurrency: + # Cancels in-progress runs only for pull requests + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +jobs: + analyze: + name: Analyze Ruby + runs-on: 'ubuntu-latest' + permissions: + security-events: write + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false + - uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1 + with: + languages: ruby + build-mode: none + - uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1 + with: + category: "/language:ruby"