Skip to content

Commit cc21ded

Browse files
author
Tom Zmyslo
committed
fixup! Adds codeql.yml workflow
1 parent 2336d0e commit cc21ded

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

.github/workflows/codeql.yml

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,27 @@ on:
77
- cron: '0 16 * * *'
88

99
jobs:
10-
codeql_ruby:
11-
name: 'Run CodeQL (Ruby)'
12-
uses: TelusAg/ci-pipeline-templates/.github/workflows/codeql-analysis-template.yml@version/1.3
13-
with:
14-
agent_os: 'ubuntu-latest'
15-
code_language: 'ruby'
10+
analyze:
11+
name: Analyze
12+
runs-on: ubuntu-latest
13+
permissions:
14+
actions: read
15+
contents: read
16+
security-events: write
17+
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
language: ['ruby']
22+
23+
steps:
24+
- name: Checkout Code
25+
uses: actions/checkout@v3
26+
27+
- name: Initialize CodeQL
28+
uses: github/codeql-action/init@v2
29+
with:
30+
languages: ${{ matrix.language }}
31+
32+
- name: Run CodeQL Scan
33+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)