mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
38 lines
841 B
YAML
38 lines
841 B
YAML
name: CodeQL Workflow Analysis
|
|
|
|
on:
|
|
pull_request:
|
|
branches: ["dev"]
|
|
paths:
|
|
- ".github/**/*.yml"
|
|
schedule:
|
|
- cron: "00 12 * * *" # Runs daily at 12:00 UTC
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
actions: write
|
|
contents: read
|
|
security-events: write
|
|
|
|
jobs:
|
|
analyze-workflows:
|
|
name: Analyze GitHub Workflows
|
|
if: github.repository_owner == 'MaaAssistantArknights'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v5
|
|
with:
|
|
show-progress: false
|
|
|
|
- name: Setup CodeQL for GitHub Actions
|
|
uses: github/codeql-action/init@v4
|
|
with:
|
|
languages: actions
|
|
build-mode: none
|
|
|
|
- name: Run CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v4
|
|
with:
|
|
category: "/language:multi-none"
|