Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CodeQL Advanced

CodeQL Advanced #181

Workflow file for this run

name:"CodeQL Advanced"
on:
push:
branches:[ "main" ]
pull_request:
branches:[ "main" ]
schedule:
-cron:'24 23 * * 1'
jobs:
analyze:
name:Analyze (${{ matrix.language }})
runs-on:${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
permissions:
# required for all workflows
security-events:write
# required to fetch internal or private CodeQL packs
packages:read
# only required for workflows in private repositories
actions:read
contents:read
strategy:
fail-fast:false
matrix:
include:
-language:python
build-mode:none
-language:swift
build-mode:manual
steps:
-name:Checkout repository
uses:actions/checkout@v4
# Initializes the CodeQL tools for scanning.
-name:Initialize CodeQL
uses:github/codeql-action/init@v3
with:
languages:${{ matrix.language }}
build-mode:${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
-if:matrix.build-mode == 'manual'
uses:./.github/actions/set-xcode-version
-if:matrix.build-mode == 'manual'
shell:bash
run:|
xcodebuild \
-scheme 'Copilot for Xcode' \
-quiet \
-archivePath build/Archives/CopilotForXcode.xcarchive \
-configuration Release \
-skipMacroValidation \
-disableAutomaticPackageResolution \
-workspace 'Copilot for Xcode.xcworkspace' \
archive \
CODE_SIGNING_ALLOWED="NO"
-name:Perform CodeQL Analysis
uses:github/codeql-action/analyze@v3
with:
category:"/language:${{matrix.language}}"

[8]ページ先頭

©2009-2025 Movatter.jp