Skip to content

Don't run tests on branches#708

Open
zetter-rpf wants to merge 1 commit intomainfrom
dont-run-tests-on-branches
Open

Don't run tests on branches#708
zetter-rpf wants to merge 1 commit intomainfrom
dont-run-tests-on-branches

Conversation

@zetter-rpf
Copy link
Contributor

@zetter-rpf zetter-rpf commented Mar 2, 2026

Status

Points for consideration:

  • Security
  • Performance

What's changed?

Currently checks to run on branches and then again on PRs resulting on duplicate checks.
Don't run tests on feature branches (until they get turned into a PR), this is similar to how the Editor-ui repo is set up.

This causes the checks to run on branches and then again on PRs
@cla-bot cla-bot bot added the cla-signed label Mar 2, 2026
@zetter-rpf zetter-rpf marked this pull request as ready for review March 2, 2026 13:53
Copilot AI review requested due to automatic review settings March 2, 2026 13:53
Copy link
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

Updates the CI workflow triggers to avoid running duplicate checks on feature-branch pushes while still running CI for pull requests and for changes merged to main.

Changes:

  • Restrict push-triggered CI runs to the main branch only.
  • Keep CI running for all pull_request targets.

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

@github-actions
Copy link

github-actions bot commented Mar 2, 2026

Test coverage

89.07% line coverage reported by SimpleCov.
Run: https://github.com/RaspberryPiFoundation/editor-api/actions/runs/22579049292

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants