Skip to content

Prevent duplicate checks on feature branches#1128

Merged
alexslavr merged 1 commit into
masterfrom
lavrov/run-checks-once
May 11, 2026
Merged

Prevent duplicate checks on feature branches#1128
alexslavr merged 1 commit into
masterfrom
lavrov/run-checks-once

Conversation

@alexslavr
Copy link
Copy Markdown
Contributor

No description provided.

@alexslavr alexslavr requested a review from Copilot May 11, 2026 15:17
@alexslavr alexslavr self-assigned this May 11, 2026
@alexslavr alexslavr requested a review from a team May 11, 2026 15:17
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 several GitHub Actions workflows to avoid running the same checks twice for feature-branch commits (once on push and again on pull_request) by limiting push triggers to the master branch.

Changes:

  • Restrict push events to branches: ["master"] for lint and ThemeBuilder workflows.
  • Add the same push branch restriction to the Next.js check and application test workflows (while keeping pull_request triggers).

Reviewed changes

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

File Description
.github/workflows/themebuilder.yml Limit push runs to master to avoid duplicate runs on PR branches.
.github/workflows/lint.yml Limit push runs to master to avoid duplicate runs on PR branches.
.github/workflows/check-nextjs.yml Add push branch filter for master while keeping PR/manual triggers.
.github/workflows/applications.yml Add push branch filter for master while keeping PR and workflow_call triggers.

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

@alexslavr alexslavr merged commit bae1846 into master May 11, 2026
27 checks passed
@alexslavr alexslavr deleted the lavrov/run-checks-once branch May 11, 2026 15:30
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.

3 participants