Skip to content

Commit 5d593ea

Browse files
authored
Fix CodeQL action (#9)
The CodeQL action was not working when it was originally forked. This PR fixes it.
1 parent 80f3b7a commit 5d593ea

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
name: "Code scanning - action"
2-
1+
name: CodeQL Analysis
32
on:
43
push:
5-
branches-ignore:
6-
- pr/*
7-
- scratch/*
4+
branches:
5+
- main
86
pull_request:
97
schedule:
10-
- cron: '0 9 * * MON'
8+
- cron: '0 0 * * MON'
119

1210
jobs:
1311
CodeQL-Build:
14-
1512
runs-on: ubuntu-latest
1613

14+
permissions:
15+
# required for all workflows
16+
security-events: write
17+
1718
steps:
1819
- name: Checkout repository
1920
uses: actions/checkout@v3
@@ -30,14 +31,13 @@ jobs:
3031
# Initializes the CodeQL tools for scanning.
3132
- name: Initialize CodeQL
3233
uses: github/codeql-action/init@v2
33-
# Override language selection by uncommenting this and choosing your languages
34-
# with:
35-
languages: ruby
34+
with:
35+
languages: ruby
3636

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

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

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

vendor/files/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
source "http://rubygems.org"
1+
source "https://rubygems.org"
22

33
# Specify your gem's dependencies in files.gemspec
44
gemspec

0 commit comments

Comments
 (0)