fix: packagist publish — fix secrets condition and GitHub mirror URL #316

Merged
jmiller merged 1 commits from fix/packagist-publish into main 2026-06-23 22:06:37 +00:00
Owner

Summary

Two bugs in composer-publish.yml preventing Packagist notification:

  1. if: secrets.PACKAGIST_TOKEN != '' missing ${{ }} wrapper — always evaluates as truthy string
  2. Packagist repo URL pointed to Gitea (which Packagist can't access) — changed to GitHub mirror github.com/mokoconsulting-tech/mokocli

3-line change, no review needed — pure config fix.

## Summary Two bugs in `composer-publish.yml` preventing Packagist notification: 1. `if: secrets.PACKAGIST_TOKEN != ''` missing `${{ }}` wrapper — always evaluates as truthy string 2. Packagist repo URL pointed to Gitea (which Packagist can't access) — changed to GitHub mirror `github.com/mokoconsulting-tech/mokocli` 3-line change, no review needed — pure config fix.
jmiller added 1 commit 2026-06-23 22:01:06 +00:00
fix: packagist publish — fix secrets condition and use GitHub mirror URL
Platform: mokocli CI / Gate 2: Unit Tests (8.1) (pull_request) Blocked by required conditions
Platform: mokocli CI / Gate 2: Unit Tests (8.2) (pull_request) Blocked by required conditions
Platform: mokocli CI / Gate 2: Unit Tests (8.3) (pull_request) Blocked by required conditions
Platform: mokocli CI / Gate 3: Self-Health Check (pull_request) Blocked by required conditions
Platform: mokocli CI / Gate 4: Governance (pull_request) Blocked by required conditions
Platform: mokocli CI / Gate 5: Template Integrity (pull_request) Blocked by required conditions
Platform: mokocli CI / CI Summary (pull_request) Blocked by required conditions
Universal: PR Check / Build RC Package (pull_request) Blocked by required conditions
Universal: PR Check / Report Issues (pull_request) Blocked by required conditions
Generic: Repo Health / Scripts governance (pull_request) Blocked by required conditions
Generic: Repo Health / Repository health (pull_request) Blocked by required conditions
Generic: Repo Health / Report Issues (pull_request) Blocked by required conditions
Universal: PR Check / Branch Policy (pull_request) Failing after 2s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Generic: Repo Health / Access control (pull_request) Successful in 1s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 14s
Universal: PR Check / Validate PR (pull_request) Failing after 6s
Universal: PR Check / Secret Scan (pull_request) Successful in 9s
Platform: mokocli CI / Gate 1: Code Quality (pull_request) Failing after 44s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Successful in 1s
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Failing after 3s
13ab870418
- Fix if: condition syntax (needs ${{ }} expression wrapper)
- Point Packagist notification to GitHub mirror URL (Packagist can't
  access Gitea directly)
jmiller merged commit a183787db6 into main 2026-06-23 22:06:37 +00:00
jmiller deleted branch fix/packagist-publish 2026-06-23 22:06:37 +00:00
Sign in to join this conversation.
No Reviewers
No labels
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoCLI#316