Skip to content

fix(deps): bump step-security/harden-runner from 2.17.0 to 2.19.4 #2574

fix(deps): bump step-security/harden-runner from 2.17.0 to 2.19.4

fix(deps): bump step-security/harden-runner from 2.17.0 to 2.19.4 #2574

Workflow file for this run

name: "CodeQL Advanced"
on:
push:
branches: [ "main", "develop", "v1" ]
pull_request:
branches: [ "main", "develop", "v1" ]
paths-ignore:
- '**/*.md'
schedule:
- cron: '25 19 * * 2'
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
permissions:
security-events: write # required for CodeQL to upload security scan results
strategy:
fail-fast: false
matrix:
language: ['javascript-typescript', 'actions']
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
with:
languages: ${{ matrix.language }}
build-mode: none
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
with:
category: "/language:${{matrix.language}}"