Skip to content

Use right permission to operate on log files (#2795) #9088

Use right permission to operate on log files (#2795)

Use right permission to operate on log files (#2795) #9088

name: "CodeQL"
on:
push:
pull_request:
schedule:
- cron: '0 10 * * 2'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'python' ]
steps:
- name: Checkout repository
uses: actions/checkout@main
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2