Skip to content

Commit

Permalink
Create codeql-analysis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iamnapo committed Jun 15, 2020
1 parent 3f3b56b commit faf89c3
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "Code scanning"

on:
push:
pull_request:
schedule:
- cron: "0 18 * * 6"

jobs:
CodeQL-Build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 2

- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

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

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"eslint-config-airbnb": "^18.1.0"
},
"devDependencies": {
"ava": "^3.8.2",
"ava": "^3.9.0",
"eslint": "^7.2.0",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
Expand Down

0 comments on commit faf89c3

Please sign in to comment.