Skip to content

Commit

Permalink
ci: update codeql config [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
bounoable authored Apr 4, 2022
1 parent b9d4149 commit 5c4e7f1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
actions: read
contents: read
security-events: write

if: |
!startsWith(github.event.head_commit.message, 'docs') &&
!contains(github.event.head_commit.message, 'skip ci') &&
!contains(github.event.head_commit.message, 'ci skip')
strategy:
fail-fast: false
Expand All @@ -37,6 +42,11 @@ jobs:
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v3

Expand Down

0 comments on commit 5c4e7f1

Please sign in to comment.