feat(workflow): add SDK parity dispatch workflow#1
Conversation
salihdev0
commented
Apr 8, 2026
- Introduced a new GitHub Actions workflow for SDK parity dispatch.
- Triggers on push and pull request events for specific paths.
- Utilizes a reusable workflow from tapsilat/tapsilat-sdk-parity.
- Introduced a new GitHub Actions workflow for SDK parity dispatch. - Triggers on push and pull request events for specific paths. - Utilizes a reusable workflow from tapsilat/tapsilat-sdk-parity.
There was a problem hiding this comment.
Pull request overview
Adds a new GitHub Actions workflow to dispatch SDK parity checks via a reusable workflow in tapsilat/tapsilat-sdk-parity, scoped to changes in Zig build files and src/.
Changes:
- Introduces
sdk-parity-dispatch.ymlworkflow triggered onpush,pull_request, andworkflow_dispatch. - Limits automatic triggers to changes under
src/**,build.zig, andbuild.zig.zon. - Calls a reusable workflow and inherits secrets from the caller.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| parity-dispatch: | ||
| uses: tapsilat/tapsilat-sdk-parity/.github/workflows/reusable-sdk-parity-dispatch.yml@main | ||
| secrets: inherit |
There was a problem hiding this comment.
The reusable workflow is referenced with @main. This is mutable and can change behavior (and potentially expand the impact of secrets: inherit) without any change in this repo. Prefer pinning to an immutable ref (a version tag or commit SHA) so dispatch behavior is reproducible and supply-chain risk is reduced.
| push: | ||
| paths: | ||
| - "src/**" | ||
| - "build.zig" | ||
| - "build.zig.zon" |
There was a problem hiding this comment.
push is configured without a branches filter, so this workflow will run on pushes to any branch (and path filters are not evaluated for tag pushes). If the intent is to only dispatch parity checks for the default branch (as in .github/workflows/test.yml), add an explicit branches: [main] (and/or tags-ignore) to avoid unexpected dispatches.
| jobs: | ||
| parity-dispatch: | ||
| uses: tapsilat/tapsilat-sdk-parity/.github/workflows/reusable-sdk-parity-dispatch.yml@main | ||
| secrets: inherit |
There was a problem hiding this comment.
Because this workflow calls into a reusable workflow and inherits secrets, consider explicitly setting least-privilege permissions: for the workflow/job (rather than relying on repo/org defaults). This helps prevent accidental privilege expansion if defaults change.