Skip to content

Run continuous CI on master pushes and pull requests - #42

Merged
danielchalmers merged 1 commit into
masterfrom
claude/ci-trigger-pull-requests
Jul 27, 2026
Merged

Run continuous CI on master pushes and pull requests#42
danielchalmers merged 1 commit into
masterfrom
claude/ci-trigger-pull-requests

Conversation

@danielchalmers

@danielchalmers danielchalmers commented Jul 27, 2026

Copy link
Copy Markdown
Member

continuous.yml triggers on a bare push: with no pull_request trigger. A push event never fires for a pull request opened from a fork, so fork PRs reach review with nothing built and nothing packed.

The same trigger causes the inverse problem: bare push: matches every branch and every tag. This repo currently has 14 non-default branches, so every push to any of them runs a full restore/build/pack, and a release tag push runs continuous and release concurrently over the same commit.

This is one of three matching PRs closing the same gap across the org — see MudBlazor/ThemeManager#47 and the corresponding Templates PR. Of the org's active repos, MudBlazor, TryMudBlazor, and Translations already had a pull_request trigger; ThemeManager, Icons, and Templates did not.

Change

on:
  push:
    branches:
      - master
  pull_request:

This matches the trigger shape already used by MudBlazor/MudBlazor (build-test-mudblazor.yml) and MudBlazor/TryMudBlazor (build-test-trymudblazor.yml), both of which scope push to the default branch and leave pull_request unscoped.

release.yml and update-material-symbols.yml are untouched.

The `continuous` workflow triggered on a bare `push`, which never fires for
pull requests opened from forks — so fork PRs were never built or packed
before review.

Scope the push trigger to `master` and add a `pull_request` trigger, matching
what MudBlazor/MudBlazor and MudBlazor/TryMudBlazor already do. This also
stops `continuous` from running on every internal branch push and on tag
pushes, where it duplicated the build already performed by `release`.
@danielchalmers
danielchalmers merged commit 025dd06 into master Jul 27, 2026
1 check 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.

1 participant