Skip to content

chore: Add pull_request trigger to CI workflow - #61

Open
Marius Merkle (MariusMerkleQC) wants to merge 1 commit into
mainfrom
ci_trigger
Open

chore: Add pull_request trigger to CI workflow#61
Marius Merkle (MariusMerkleQC) wants to merge 1 commit into
mainfrom
ci_trigger

Conversation

@MariusMerkleQC

@MariusMerkleQC Marius Merkle (MariusMerkleQC) commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Motivation

The CI workflow doesn't run on PRs from forks such as in #58. I'd like to change the trigger so that it runs on PRs and pushed to main. It will no longer run on pushed to non-main branches without PRs.

Changes

@codecov

codecov Bot commented Sep 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (40c1a0e) to head (829a224).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #61   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           13        13           
  Lines         1138      1138           
=========================================
  Hits          1138      1138           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

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.

🟡 Changes recommended

The trigger change introduces an unmentioned behavior change (no CI on non-main pushes) and may break/alter CI runs for fork PRs due to missing secrets used by Codecov steps.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates the GitHub Actions CI workflow so it runs for pull requests (including PRs opened from forks), addressing the gap where CI previously only ran on push events.

Changes:

  • Switches the workflow trigger from on: [push] to explicit push + pull_request triggers.
  • Limits push runs to the main branch (new behavior vs. prior “all pushes”).
File summaries
File Description
.github/workflows/ci.yml Adds pull_request trigger and changes push trigger scope to main.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 2
  • Review effort level: Lite

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

Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
@MariusMerkleQC Marius Merkle (MariusMerkleQC) changed the title chore: Add pull_request trigger to CI workflow chore: Add pull_request trigger to CI workflow Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants