Skip to content

Add the branches filter to the caller contract - #9

Merged
jeremy merged 1 commit into
mainfrom
ci/caller-contract-branches-filter
Jul 27, 2026
Merged

Add the branches filter to the caller contract#9
jeremy merged 1 commit into
mainfrom
ci/caller-contract-branches-filter

Conversation

@jeremy

@jeremy jeremy commented Jul 27, 2026

Copy link
Copy Markdown
Member

Comment-only: callers now filter workflow_run at the trigger (branches: ["dependabot/github_actions/**"]) per review on the caller PRs, so runs are not created for other branches at all. Keep the header template accurate for the next repo that copies it.

Callers filter workflow_run at the trigger so runs are only created for
Dependabot actions branches; keep the template in the header accurate.
Copilot AI review requested due to automatic review settings July 27, 2026 20:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the reusable workflow’s “caller contract” header template to reflect that callers now filter workflow_run to Dependabot Actions branches, preventing runs from being created for unrelated branches when this workflow is copied into other repositories.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Changes:

  • Document workflow_run.branches: ["dependabot/github_actions/**"] in the caller contract example.
  • Clarify (in-comment) that this prevents creation of runs for other branches.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jeremy
jeremy merged commit 88722f9 into main Jul 27, 2026
6 checks passed
@jeremy
jeremy deleted the ci/caller-contract-branches-filter branch July 27, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants