chore(ci): ESLint workflow and path-aware ci-ok merge gate (#1170)

This commit is contained in:
cucadmuh
2026-06-24 18:42:59 +03:00
committed by GitHub
parent 53a4bf9330
commit de36f79e46
8 changed files with 325 additions and 7 deletions
+19 -4
View File
@@ -1,15 +1,30 @@
name: ci-main
on:
push:
branches: [main]
pull_request:
branches: [main]
push:
branches: [main]
workflow_run:
workflows: [frontend-tests, rust-tests, eslint]
types: [completed]
workflow_dispatch:
permissions:
contents: read
checks: read
pull-requests: read
jobs:
ci-ok:
runs-on: ubuntu-latest
steps:
- name: ci sentinel
run: echo "main CI sentinel is green"
- uses: actions/checkout@v5
with:
ref: ${{ github.event.pull_request.head.sha || github.event.workflow_run.head_sha || github.sha }}
- name: aggregate required checks
uses: actions/github-script@v9
with:
script: |
const { runCiOkAggregate } = await import('${{ github.workspace }}/.github/scripts/ci-ok-aggregate.mjs');
await runCiOkAggregate(github, context, core);