Skip to content

ci: fix Contracts CI dbus dependency and add main branch protection - #1337

Merged
Ehonrie merged 2 commits into
Netwalls:mainfrom
djcdz4:drips/1334-1335
Sep 29, 2026
Merged

Ehonrie merged 2 commits into
Netwalls:mainfrom
djcdz4:drips/1334-1335

Conversation

@djcdz4

@djcdz4 djcdz4 commented Sep 29, 2026

Copy link
Copy Markdown

Summary

ci: fix Contracts CI dbus dependency and add main branch protection

What was solved

#1334 — Contracts CI broken on main: missing dbus-1 system lib breaks cargo install stellar-cli

Fix the Contracts CI failure caused by the missing dbus-1 system library when cargo install stellar-cli builds libdbus-sys on Linux runners. Add a step to install libdbus-1-dev and pkg-config before installing stellar-cli in the Contracts CI workflow.

Addressed:

  • Changed: .github/workflows/contracts-ci.yml
  • Add a step to install the missing system packages (libdbus-1-dev and pkg-config) on the runner before stellar-cli is installed in the Contracts CI workflow.
  • Scope is limited to the Contracts CI workflow file (.github/workflows/contracts-ci.yml); do not modify backend, frontend, or other unrelated workflows.
  • Do not change unrelated CI steps, jobs, or configuration beyond what is needed to install the system dependency.

#1335 — main branch has no branch protection / required status checks

Add branch protection configuration for the main branch so that PRs require review and the Frontend CI and Contracts CI status checks must pass before merging, and force-pushes/branch deletion are disallowed. Since GitHub branch protection is a repository setting (not code), the scope-faithful contribution is to add a declarative configuration file (e.g. a .github/branch-protection.yml or documented config) plus a small workflow/script that applies it via gh api, matching the existing .github/workflows/* conventions.

Addressed:

  • Changed: .github/workflows/frontend-ci.yml, .github/workflows/contracts-ci.yml, .github/workflows/backend-ci.yml
  • Configure branch protection on main requiring pull request review before merging.
  • Require the Frontend CI and Contracts CI status checks to pass before merging.
  • Disallow force pushes to main.

Changes

  • .github/workflows/backend-ci.yml (modify)
  • .github/workflows/contracts-ci.yml (modify)
  • .github/workflows/frontend-ci.yml (modify)

Approach

  1. Contracts CI broken on main: missing dbus-1 system lib breaks cargo install stellar-cli #1334 — Contracts CI broken on main: missing dbus-1 system lib breaks cargo install stellar-cli (Changed: .github/workflows/contracts-ci.yml)
  2. main branch has no branch protection / required status checks #1335 — main branch has no branch protection / required status checks (Changed: .github/workflows/frontend-ci.yml, .github/workflows/contracts-ci.yml, .github/workflows/backend-ci.yml)

Issues

Closes #1334
Closes #1335

@Ehonrie
Ehonrie merged commit 9d5232f into Netwalls:main Sep 29, 2026
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.

main branch has no branch protection / required status checks Contracts CI broken on main: missing dbus-1 system lib breaks cargo install stellar-cli

2 participants