Skip to content

fix(ci): unify PR notification workflows (closed-only trigger + OCTO_PR_FEED_GROUP_ID) #10

fix(ci): unify PR notification workflows (closed-only trigger + OCTO_PR_FEED_GROUP_ID)

fix(ci): unify PR notification workflows (closed-only trigger + OCTO_PR_FEED_GROUP_ID) #10

Workflow file for this run

name: CodeQL
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '**/*.md'
- 'docs/**'
- '.github/ISSUE_TEMPLATE/**'
schedule:
- cron: "0 6 * * *"
workflow_dispatch:
permissions: {}
concurrency:
group: codeql-${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
analyze:
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
uses: Mininglamp-OSS/.github/.github/workflows/reusable-codeql.yml@main
with:
language: go
permissions:
actions: read
contents: read
security-events: write