Skip to content

Commit

Permalink
Fix CodeQL action (#9)
Browse files Browse the repository at this point in the history
The CodeQL action was not working when it was originally forked. This PR
fixes it.
  • Loading branch information
drwl authored Feb 19, 2023
1 parent 80f3b7a commit 5d593ea
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
name: "Code scanning - action"

name: CodeQL Analysis
on:
push:
branches-ignore:
- pr/*
- scratch/*
branches:
- main
pull_request:
schedule:
- cron: '0 9 * * MON'
- cron: '0 0 * * MON'

jobs:
CodeQL-Build:

runs-on: ubuntu-latest

permissions:
# required for all workflows
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -30,14 +31,13 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
# Override language selection by uncommenting this and choosing your languages
# with:
languages: ruby
with:
languages: ruby

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# - name: Autobuild
# uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -51,4 +51,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v2
2 changes: 1 addition & 1 deletion vendor/files/Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source "http://rubygems.org"
source "https://rubygems.org"

# Specify your gem's dependencies in files.gemspec
gemspec
Expand Down

0 comments on commit 5d593ea

Please sign in to comment.