Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/sdk-parity-dispatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: SDK Parity Dispatch

on:
push:
paths:
- "src/**"
- "build.zig"
- "build.zig.zon"
Comment on lines +4 to +8

Copilot AI Apr 8, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
pull_request:
paths:
- "src/**"
- "build.zig"
- "build.zig.zon"
workflow_dispatch:

jobs:
parity-dispatch:
uses: tapsilat/tapsilat-sdk-parity/.github/workflows/reusable-sdk-parity-dispatch.yml@main
secrets: inherit
Comment on lines +17 to +19

Copilot AI Apr 8, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
Comment on lines +16 to +19

Copilot AI Apr 8, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
Loading