Files
Boshen 41fc6908c2 fix(ci): run required checks for merge queue (#25390)
Run required workflows for `merge_group` commits so the merge queue
receives status checks. Keep PR-title validation and autofix publishing
limited to pull request events.

Validated with `just ready`.

AI assistance was used for this change.
2026-08-08 06:08:43 +00:00

26 lines
540 B
YAML

name: Security Analysis
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize]
merge_group:
push:
branches:
- main
paths:
- ".github/workflows/**"
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.ref_name != 'main' }}
jobs:
security:
name: Security Analysis
runs-on: ubuntu-latest
steps:
- uses: oxc-project/security-action@2ac862d109c9728f5bf439d249b69f68905a5de4 # v1.0.8