Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ updates:
directory: "/"
schedule:
interval: "weekly"
cooldown:
default-days: 7
reviewers:
- "GitHubSecurityLab/codeql-community-packs-admin"
target-branch: "main"
Expand Down
17 changes: 15 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,20 @@ on:
branches: [ main ]
workflow_dispatch:

# Least-privilege default; jobs that need to comment on PRs override this below.
permissions:
contents: read
packages: read

jobs:
compile-and-test:
runs-on: ubuntu-latest

permissions:
contents: read
pull-requests: write # required by pr-suites-packs.sh (gh pr comment)
issues: write # required by pr-suites-packs.sh (gh pr comment)
packages: read # required by pr-suites-packs.sh (gh api packages)

strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -217,7 +227,10 @@ jobs:
configs:
runs-on: ubuntu-latest
needs: compile-and-test

permissions:
contents: read
pull-requests: read # required by pr-configs.sh (gh pr view)

steps:
- uses: actions/checkout@v7

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hotspots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Patch the CodeQL distro
working-directory: codeql-community-packs
run: |
pip install pandas
pip install --require-hashes -r ql/hotspots/requirements.txt
python ql/hotspots/scripts/generate-hotspots-queries.py \
--ql-extractor "$GITHUB_WORKSPACE/codeql/ql/extractor-pack" \
--ql-path "$GITHUB_WORKSPACE/codeql"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ on:
jobs:
update-release:
runs-on: ubuntu-latest
permissions:
contents: read # PR creation uses a scoped GitHub App token (SECLABS_APP_ID/SECLABS_APP_KEY), not GITHUB_TOKEN

steps:
- name: "Checkout"
Expand Down
5 changes: 5 additions & 0 deletions ql/hotspots/requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pyyaml
pandas
Jinja2
beautifulsoup4
PyGithub
Loading
Loading