Skip to content

Commit 72fdc7f

Browse files
committed
Add info about reusable workflows
1 parent 8746496 commit 72fdc7f

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

docs/federating-your-repo.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,29 @@ then open a PR for review.
4747
2. Commit `skills/**`, `.github/scripts/sources.yml`, and the manifests.
4848
3. Open a PR; a maintainer reviews and merges once CI passes.
4949

50+
## Catch failures before nightly
51+
52+
The catalog runs checks against your skills. Run the **same** checks in your own
53+
repo by calling them as reusable workflows, so you catch breakage during normal
54+
development instead of in the catalog's nightly run. The logic and config live in
55+
`amd/skills`, so green in your repo means green in the catalog — and you never copy
56+
or maintain the check yourself.
57+
58+
Add a caller workflow to your repo (e.g. `.github/workflows/skills-checks.yml`):
59+
60+
```yaml
61+
name: skills-checks
62+
on:
63+
pull_request:
64+
workflow_dispatch:
65+
jobs:
66+
external-references:
67+
uses: amd/skills/.github/workflows/external-reference-check.yml@main
68+
permissions:
69+
contents: read
70+
issues: write
71+
```
72+
5073
## Update or remove
5174

5275
Automatic refresh and pruning will soon be enabled through nightly workflows.

0 commit comments

Comments
 (0)