Skip to content

chore: ensure provenance is staged in git #14

chore: ensure provenance is staged in git

chore: ensure provenance is staged in git #14

name: "CodeQL"
# PROCESS
#
# 1. Static code analysis with CodeQL
# USAGE
#
# NOTE: This is our slowest workflow hence it only runs on code merged.
#
# Always triggered on PR merge when source code changes.
on:
push:
branches: [develop]
permissions:
contents: read
jobs:
analyze:
name: Analyze
if: github.repository == 'aws-powertools/powertools-lambda-python'
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@f31a31c052207cc13b328d6295c5b728bb49568c # v2.13.1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@f31a31c052207cc13b328d6295c5b728bb49568c # v2.13.1