Skip to content

chore: fix permissions for pull-request-closed workflow (#22782) #43322

chore: fix permissions for pull-request-closed workflow (#22782)

chore: fix permissions for pull-request-closed workflow (#22782) #43322

Workflow file for this run

name: 'codeql'
on:
push:
branches: [main, v10]
pull_request:
branches: [main, v10]
merge_group:
types: [checks_requested]
schedule:
- cron: '0 12 * * 1'
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
# required for all workflows
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
ar uses: github/codeql-action/init@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0

Check failure on line 27 in .github/workflows/codeql-analysis.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/codeql-analysis.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
with:
languages: javascript-typescript
config: |
paths-ignore:
- 'packages/cli/src/component/templates/**'
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3