Skip to content

Commit

Permalink
Merge pull request #29 from maxmind/horgh/codeql
Browse files Browse the repository at this point in the history
Do not run CodeQL on push
  • Loading branch information
oschwald authored Jun 19, 2024
2 parents ac11f71 + ffb67f0 commit dac37e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: "Code scanning - action"

on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
schedule:
- cron: '0 7 * * 6'

permissions:
security-events: write # Used by this action.

jobs:
CodeQL-Build:

Expand All @@ -25,7 +25,7 @@ jobs:
# 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@v3
Expand Down

0 comments on commit dac37e9

Please sign in to comment.