Skip to content

Don't trigger CI jobs on push from copilot/** branches#8

Merged
kou merged 3 commits into
mainfrom
copilot/disable-ci-jobs-push-copilot
May 12, 2026
Merged

Don't trigger CI jobs on push from copilot/** branches#8
kou merged 3 commits into
mainfrom
copilot/disable-ci-jobs-push-copilot

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 12, 2026

Fix GH-7

Copilot branches always have a corresponding PR, so pull_request already covers CI — the push trigger is redundant and wastes runner minutes.

Copilot AI assigned Copilot and kou May 12, 2026
Copilot AI linked an issue May 12, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Remove CI jobs triggered by push from copilot branches Don't trigger CI jobs on push from copilot/** branches May 12, 2026
Copilot finished work on behalf of kou May 12, 2026 04:42
Copilot AI requested a review from kou May 12, 2026 04:42
@kou kou marked this pull request as ready for review May 12, 2026 04:57
Copilot AI review requested due to automatic review settings May 12, 2026 04:57
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates GitHub Actions workflow triggers to avoid running CI on copilot/** branch pushes (since CI is already covered via the corresponding PR), reducing redundant runner usage.

Changes:

  • Update package.yaml push trigger to use branches-ignore (instead of branches with negation) and ignore copilot/** alongside dependabot/**.
  • Update lint.yaml push trigger to ignore copilot/**.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/package.yaml Switch push branch filtering to branches-ignore, excluding dependabot/** and copilot/** while keeping tag builds.
.github/workflows/lint.yaml Prevent lint workflow from triggering on pushes to copilot/** branches.

Comment on lines +18 to +20
branches-ignore:
- 'dependabot/**'
- 'copilot/**'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated the PR description so the first line is now Fix GH-7.

Comment thread .github/workflows/package.yaml Outdated
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
@kou kou merged commit 59299c9 into main May 12, 2026
4 checks passed
@kou kou deleted the copilot/disable-ci-jobs-push-copilot branch May 12, 2026 05:04
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.

Don't triger CI jobs by push from copilot/** branches

3 participants