Skip to content

Fix failing deploy workflow and duplicate CI runs#286

Merged
conatus merged 3 commits into
mainfrom
fix/ci-workflows
Jun 10, 2026
Merged

Fix failing deploy workflow and duplicate CI runs#286
conatus merged 3 commits into
mainfrom
fix/ci-workflows

Conversation

@conatus

@conatus conatus commented Jun 9, 2026

Copy link
Copy Markdown
Member

Two CI hygiene fixes:

Deploy workflow failed on every push

deploy.yml has all its steps commented out, which makes the workflow file invalid — and GitHub can't parse an invalid workflow to evaluate its branches: [main] filter, so every push to every branch logged an instant failed run (all 0s duration, check the Actions tab). Added a placeholder step so the file parses; the commented Kinsta template steps are unchanged.

Every check ran twice on PRs

ci.yml and theme.yml triggered on both push and pull_request, so each commit on a PR branch ran all jobs twice (visible on #285 — duplicate build checks). All three CI workflows now trigger on pushes to main and on pull requests, so each change is checked exactly once.

conatus added 3 commits June 9, 2026 19:52
The deploy job had all its steps commented out, which makes the
workflow file invalid. GitHub can't parse an invalid workflow to
evaluate its branch filter, so every push to any branch logged an
instant failed run. Add a placeholder step so the file parses; the
Kinsta template steps stay commented below it.
Triggering on both push and pull_request ran every job twice for each
commit on a PR branch. Trigger on pushes to main and on pull requests
instead, so each change is checked exactly once.
checkout v5 -> v6 in the theme and docker-compose workflows to match
ci.yml, setup-node v4 -> v6 in the theme build, and the commented
Kinsta template steps now reference checkout v6 and ssh-agent v0.10.0.
cache, setup-php and php-actions/composer are already current.
@conatus conatus merged commit df374fa into main Jun 10, 2026
3 checks passed
@conatus conatus deleted the fix/ci-workflows branch June 10, 2026 12:57
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