Skip to content

Run CI on pull requests only - #2

Merged
imanimanyara merged 1 commit into
mainfrom
ci/pr-only-triggers
Oct 1, 2026
Merged

imanimanyara merged 1 commit into
mainfrom
ci/pr-only-triggers

Conversation

@imanimanyara

Copy link
Copy Markdown
Member

Changes reach main only through a pull request, so a push trigger on main runs CI after the change has landed and double-runs every merge. CI now runs on pull_request, plus workflow_dispatch for a manual re-run.

Changes reach main only through a pull request, so a push trigger on main runs CI after the change has landed and double-runs every merge. CI now runs on pull_request, plus workflow_dispatch for a manual re-run.
Copilot AI balanced review requested due to automatic review settings October 1, 2026 22:45

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.

Copilot review overview

🟢 Approval recommended

The workflow triggers correctly implement the stated CI behavior without affecting existing jobs.

Review effort: Balanced
Findings: None

What changed in this PR

Updates CI triggers to avoid redundant runs after merges to main.

Changes:

  • Runs CI for pull requests targeting main.
  • Adds manual runs via workflow_dispatch.
File Description
.github/​workflows/​ci.yml Replaces the main push trigger with manual dispatch.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@imanimanyara
imanimanyara merged commit 6f03a87 into main Oct 1, 2026
5 checks passed
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