Skip to content

ci: Skip push-triggered jobs on copilot/** branches#21

Merged
kou merged 3 commits into
mainfrom
copilot/remove-ci-jobs-on-push
May 11, 2026
Merged

ci: Skip push-triggered jobs on copilot/** branches#21
kou merged 3 commits into
mainfrom
copilot/remove-ci-jobs-on-push

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 11, 2026

Fix GH-19

Copilot AI assigned Copilot and kou May 11, 2026
Copilot AI linked an issue May 11, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Remove CI jobs triggered by push from copilot branches ci: Skip push-triggered jobs on copilot/** branches May 11, 2026
Copilot AI requested a review from kou May 11, 2026 08:28
Copilot finished work on behalf of kou May 11, 2026 08:28
Comment thread .github/workflows/package.yaml Outdated
Comment on lines +19 to +20
- '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 Sort:

Suggested change
- 'dependabot/**'
- 'copilot/**'
- 'copilot/**'
- 'dependabot/**'

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.

Done in 05858b8.

Copilot finished work on behalf of kou May 11, 2026 08:34
Copilot AI requested a review from kou May 11, 2026 08:34
@kou kou marked this pull request as ready for review May 11, 2026 08:37
Copilot AI review requested due to automatic review settings May 11, 2026 08:37
@kou kou merged commit 5f46a3d into main May 11, 2026
4 checks passed
@kou kou deleted the copilot/remove-ci-jobs-on-push branch May 11, 2026 08:37
Copy link
Copy Markdown
Contributor

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

This PR updates GitHub Actions workflow triggers to avoid running push-triggered CI jobs on branches under copilot/**, while keeping PR-triggered runs intact. This reduces unnecessary CI load from automated Copilot branch pushes and aligns workflow trigger behavior across test/lint/package pipelines.

Changes:

  • Added branches-ignore: ['copilot/**'] to push triggers in test.yaml and lint.yaml.
  • Switched package.yaml push filtering to branches-ignore and added copilot/** + dependabot/**, with entries sorted alphabetically.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/test.yaml Ignore copilot/** branches for push-triggered test workflow runs.
.github/workflows/lint.yaml Ignore copilot/** branches for push-triggered lint workflow runs.
.github/workflows/package.yaml Ignore copilot/** and dependabot/** branches for push-triggered packaging while preserving tag triggers.

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