Skip to content

Add new script injection input #1045

Add new script injection input

Add new script injection input #1045

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
# Every Saturday 6:41 in JST
- cron: '41 21 * * 5'
workflow_dispatch:
# This environment is necessary to avoid the following issue
# https://github.com/github/codeql/issues/6321
env:
CODEQL_EXTRACTOR_GO_BUILD_TRACING: 'on'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ['go', 'javascript']
steps:
- uses: actions/checkout@v4
- uses: github/codeql-action/init@v3
with:
config-file: ./.github/codeql/codeql-config.yaml
languages: ${{ matrix.language }}
- uses: github/codeql-action/autobuild@v3
if: ${{ matrix.language != 'go' }}
- uses: actions/setup-go@v5
with:
go-version: '1.22'
if: ${{ matrix.language == 'go' }}
- name: Build Go sources
run: |
set -x
go build -v ./cmd/actionlint
GOOS=js GOARCH=wasm go build -v -o ./playground/main.wasm ./playground
if: ${{ matrix.language == 'go' }}
- uses: github/codeql-action/analyze@v3