CI never runs on a push to the default branch (a-publier) #278

Closed
opened 2026-11-26 18:52:43 +00:00 by github-bot · 0 comments
Owner

@⁠itsonewi on GitHub · 2026-11-26 18:50 UTC · original

What happens

.github/workflows/ci.yml:3-6 runs on pull_request and on push to main only:

on:
  pull_request:
  push:
    branches: [main]

The repository's default branch is a-publier, and that is where the work lands: its last five commits are from 2026-11-26 (latest 17:50Z, "PC FidelityFX FSR 4.1.2 to 4K"), while main's last commit is 2026-11-25 20:56Z. Of the last 30 workflow runs, every one has a pull-request head branch; none is a-publier.

So a commit pushed straight to the branch everyone builds from runs no Clippy, no tests and no repository_passes_policy (xtask/src/policy.rs), and nothing says so. PRs still get CI, but the 15 open PRs I sampled target main or rx9070xt, so the checks that do run are run against a branch that is a day behind the code being shipped.

Why it matters

Pushes and merges to the default branch are what users build from. A failing test, a Clippy break or an asset-policy violation can land there and the history stays green.

Suggested fix

Add the branches that receive pushes to push.branches, or drop the filter (push:) and let concurrency: cancel-in-progress handle the cost.

AI use

Found by reading .github/workflows/ci.yml, the repository's default branch and recent commits, and the Actions run list through the GitHub API. No code was built or run.

**@⁠itsonewi** on GitHub · 2026-11-26 18:50 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/278) ## What happens `.github/workflows/ci.yml:3-6` runs on `pull_request` and on `push` to `main` only: ```yaml on: pull_request: push: branches: [main] ``` The repository's default branch is `a-publier`, and that is where the work lands: its last five commits are from 2026-11-26 (latest 17:50Z, "PC FidelityFX FSR 4.1.2 to 4K"), while `main`'s last commit is 2026-11-25 20:56Z. Of the last 30 workflow runs, every one has a pull-request head branch; none is `a-publier`. So a commit pushed straight to the branch everyone builds from runs no Clippy, no tests and no `repository_passes_policy` (`xtask/src/policy.rs`), and nothing says so. PRs still get CI, but the 15 open PRs I sampled target `main` or `rx9070xt`, so the checks that do run are run against a branch that is a day behind the code being shipped. ## Why it matters Pushes and merges to the default branch are what users build from. A failing test, a Clippy break or an asset-policy violation can land there and the history stays green. ## Suggested fix Add the branches that receive pushes to `push.branches`, or drop the filter (`push:`) and let `concurrency: cancel-in-progress` handle the cost. ## AI use Found by reading `.github/workflows/ci.yml`, the repository's default branch and recent commits, and the Actions run list through the GitHub API. No code was built or run.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 18:52:43 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.