Skip to content

Commit 5fd1d46

Browse files
ci(codeql): Reduce number of GH API calls
1 parent 1d4adf0 commit 5fd1d46

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ permissions:
3030

3131
jobs:
3232
analyze:
33+
env:
34+
CODEQL_ACTION_ANALYSIS_KEY: ".github/workflows/codeql.yml:analyze" # Reduce number of GH API calls
35+
CODEQL_ACTION_SKIP_WORKFLOW_VALIDATION: "true" # Reduce number of GH API calls
36+
3337
permissions:
3438
actions: read # for github/codeql-action/init to get workflow details
3539
contents: read # for actions/checkout to fetch code
@@ -54,6 +58,7 @@ jobs:
5458
uses: github/codeql-action/init@v4
5559
with:
5660
languages: ${{ matrix.language }}
61+
dependency-caching: false # Reduce number of GH API calls
5762
# If you wish to specify custom queries, you can do so here or in a config file.
5863
# By default, queries listed here will override any specified in a config file.
5964
# Prefix the list here with "+" to use these queries and those in the config file.

0 commit comments

Comments
 (0)