Skip to content

Commit

Permalink
Update CodeQL workflow to ignore markdown and text files
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomt committed Mar 3, 2024
1 parent 3dace58 commit a093fb7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@ name: "CodeQL"
on:
push:
branches: [master]
paths-ignore:
- '**/*.md'
- '**/*.txt'
pull_request:
branches: [master]
paths-ignore:
- '**/*.md'
- '**/*.txt'
schedule:
- cron: '0 0 1 * *'

Expand All @@ -20,11 +26,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 2

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

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
Expand Down

0 comments on commit a093fb7

Please sign in to comment.