python-tuf/.github/workflows/codeql-analysis.yml
sumanth8495 e3772c7082 workflows: Includes version comments in GH action uses-lines
Signed-off-by: sumanth8495 <msgupthamurukuri123@gmail.com>
2023-09-02 18:44:15 +05:30

33 lines
740 B
YAML

name: "CodeQL Analysis"
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
schedule:
- cron: '30 0 * * 2'
workflow_dispatch:
permissions: {}
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v2.3.4
- name: Initialize CodeQL
uses: github/codeql-action/init@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2.3.4
with:
languages: 'python'
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2.3.4