Skip to content

Commit 9df7cd0

Browse files
committed
Exclude dependabots PRs from code analysis
1 parent ddd11b6 commit 9df7cd0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
analyze:
2525
name: Analyze
2626
runs-on: ubuntu-latest
27+
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]'}}
2728
permissions:
2829
actions: read
2930
contents: read

.github/workflows/flake8.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
python-version: [ '3.12']
1717

1818
runs-on: ubuntu-latest
19+
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]'}}
1920

2021
steps:
2122
- name: Checkout repository

0 commit comments

Comments
 (0)