mirror of
https://github.com/freemkv/freemkv-keysources.git
synced 2026-10-07 18:13:11 +00:00
Thin-caller comment/leak/identity guards → freemkv/.github reusable workflows; drop local ci/comment-guard.py and ci/leak-guard.sh. Replace per-job sibling checkout + .cargo/config heredoc with the shared checkout-siblings@v1 composite (checkout libfreemkv+freemkv-unlock, patch libfreemkv). Add cancel-in-progress concurrency to ci.yml/qa.yml; standardize actions/checkout to @v5.
13 lines
472 B
YAML
13 lines
472 B
YAML
name: comment-guard
|
|
|
|
# Thin caller → the canonical reusable guard in freemkv/.github (one definition
|
|
# for every repo). Fork PRs still run it; same-repo pushes aren't double-run.
|
|
on: [push, pull_request]
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
comment-guard:
|
|
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork
|
|
uses: freemkv/.github/.github/workflows/guard-comment.yml@v1
|