Skip to content

Commit

Permalink
Multi-language
Browse files Browse the repository at this point in the history
  • Loading branch information
aeisenberg committed Jan 18, 2022
1 parent 0bf7da4 commit 96652eb
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 67,310 deletions.
6 changes: 1 addition & 5 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
name: "CodeQL config"
queries:
- name: Run standard queries
uses: security-and-quality
paths:
- ./index.js

- files/*
14 changes: 7 additions & 7 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: "Code Scanning - CodeQL"

on:
push:
pull_request:

jobs:
codeql:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Upload
uses: github/codeql-action/upload-sarif@v1
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
token: xxx
sarif_file: res.sarif
languages: javascript
config-file: ./.github/codeql/codeql-config.yml

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
2 changes: 2 additions & 0 deletions files/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
var x = 9;
var y = 10;
1 change: 1 addition & 0 deletions files/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
i = 9
2 changes: 0 additions & 2 deletions files/something.txt

This file was deleted.

1 change: 0 additions & 1 deletion index.js

This file was deleted.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"dependencies": {
}
}
Loading

0 comments on commit 96652eb

Please sign in to comment.