Skip to content

Commit

Permalink
Update CodeQL workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamazeem committed Apr 13, 2023
1 parent fd2a573 commit 8843fe7
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: "CodeQL"
name: CodeQL

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

permissions:
actions: read
contents: read
Expand All @@ -17,17 +19,17 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'ruby' ]
language: [ruby]

steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
- name: Initialize CodeQL
uses: github/codeql-action/init@v2

- name: Autobuild
uses: github/codeql-action/autobuild@v1
- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

0 comments on commit 8843fe7

Please sign in to comment.