Skip to content

⬆️ Update actions/checkout action to v6.0.1 (#6338) #14415

⬆️ Update actions/checkout action to v6.0.1 (#6338)

⬆️ Update actions/checkout action to v6.0.1 (#6338) #14415

name: 'CodeQL'
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
analyse:
name: Analyse
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4.31.5
with:
languages: javascript
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4.31.5