Skip to content

Commit

Permalink
chore: Add CodeQL Actions Ruby Beta (#931)
Browse files Browse the repository at this point in the history
Fixes #767
  • Loading branch information
arielvalentin authored Sep 7, 2021
1 parent f733041 commit a422df5
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "CodeQL"

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

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

env:
CODEQL_ENABLE_EXPERIMENTAL_FEATURES: true

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

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

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
tools: latest

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

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

0 comments on commit a422df5

Please sign in to comment.