fix(ci): deduplicate PR checks and filter deploy triggers #92

Merged
forust merged 2 commits from fix/ci-trigger-dedup into main 2026-10-06 15:06:49 +00:00
Owner

An update to an open PR currently runs the full CI twice: once for the branch push and once for the PR event. Run CI on pull requests and pushes to main, retaining manual runs and the main CI run used by deployment.

Run Renovate validation only when renovate files, its workflow, or its shared validation scripts/tool versions change. Apply the same path filters to PRs and main pushes.

Validation: Prettier, yamllint, actionlint with the repository runner-label configuration, and git diff --check passed locally. Gitea event filtering will be confirmed by this PR's runs. Branch protection settings are unchanged.

Only create automatic deploy runs when the completed CI belongs to main. Keep the success/AUTODEPLOY job guard, exact validated SHA, and manual deployment entry point. Existing historical runs are unaffected.

An update to an open PR currently runs the full CI twice: once for the branch push and once for the PR event. Run CI on pull requests and pushes to main, retaining manual runs and the main CI run used by deployment. Run Renovate validation only when renovate files, its workflow, or its shared validation scripts/tool versions change. Apply the same path filters to PRs and main pushes. Validation: Prettier, yamllint, actionlint with the repository runner-label configuration, and git diff --check passed locally. Gitea event filtering will be confirmed by this PR's runs. Branch protection settings are unchanged. Only create automatic deploy runs when the completed CI belongs to main. Keep the success/AUTODEPLOY job guard, exact validated SHA, and manual deployment entry point. Existing historical runs are unaffected.
forust added 1 commit 2026-10-06 14:59:33 +00:00
fix(ci): avoid duplicate branch and PR runs
ci / validate (push) Skipped
ci / lint-prettier (push) Skipped
ci / lint-ruff (push) Skipped
ci / lint-yaml (push) Skipped
ci / lint-dockerfiles (push) Skipped
renovate-ci / validate-renovate (push) Skipped
ci / lint-compose (pull_request) Canceled after 0s
ci / lint-actionlint (pull_request) Canceled after 0s
ci / lint-shellcheck (pull_request) Canceled after 0s
ci / lint-prettier (pull_request) Canceled after 0s
ci / lint-ruff (pull_request) Canceled after 0s
ci / lint-yaml (pull_request) Canceled after 0s
ci / lint-dockerfiles (pull_request) Canceled after 0s
ci / validate (pull_request) Canceled after 0s
ci / build (pull_request) Canceled after 0s
renovate-ci / validate-renovate (pull_request) Successful in 10s
67422663b7
forust added 1 commit 2026-10-06 15:00:10 +00:00
fix(deploy): only create automatic runs for main CI
ci / lint-ruff (push) Skipped
ci / lint-yaml (push) Skipped
ci / lint-dockerfiles (push) Skipped
ci / validate (push) Skipped
ci / lint-prettier (push) Skipped
renovate-ci / validate-renovate (push) Skipped
ci / lint-compose (pull_request) Successful in 13s
ci / lint-actionlint (pull_request) Successful in 6s
ci / lint-shellcheck (pull_request) Successful in 11s
ci / lint-prettier (pull_request) Successful in 18s
ci / lint-ruff (pull_request) Successful in 8s
ci / lint-yaml (pull_request) Successful in 13s
ci / lint-dockerfiles (pull_request) Successful in 5s
ci / validate (pull_request) Successful in 9s
ci / build (pull_request) Skipped
renovate-ci / validate-renovate (pull_request) Successful in 12s
b357ef95d8
forust changed title from fix(ci): avoid duplicate PR runs and scope Renovate checks to fix(ci): deduplicate PR checks and filter deploy triggers 2026-10-06 15:00:20 +00:00
forust merged commit f1e4a1088d into main 2026-10-06 15:06:49 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: forust/homelab#92