Skip to content

Commit

Permalink
ci: cleaning up the codeql workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Mar 20, 2021
1 parent 6296f1b commit 09adaef
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Code scanning - action"
name: "CodeQL"

on:
push:
Expand All @@ -7,24 +7,14 @@ on:
- cron: '0 12 * * 1'

jobs:
CodeQL-Build:
analyze:

runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2.3.4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

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

0 comments on commit 09adaef

Please sign in to comment.