Skip to content

ci: add Packagist auto-update workflow#7

Merged
dimoschi merged 1 commit intomainfrom
feat/packagist-webhook
Mar 27, 2026
Merged

ci: add Packagist auto-update workflow#7
dimoschi merged 1 commit intomainfrom
feat/packagist-webhook

Conversation

@dimoschi
Copy link
Copy Markdown
Collaborator

Summary

  • Adds a GitHub Actions workflow that notifies Packagist on pushes to main and on new tags
  • Uses the Packagist API endpoint with PACKAGIST_USERNAME and PACKAGIST_API_TOKEN repository secrets

Setup required

  1. Add PACKAGIST_USERNAME as a repository secret (Packagist account username)
  2. Add PACKAGIST_API_TOKEN as a repository secret (from https://packagist.org/profile/ > API Token)

Note

The secrets are currently tied to a personal Packagist account. Ensure at least one other team member is added as a maintainer on the Packagist package page to avoid bus factor risk.

@dimoschi dimoschi merged commit 0c9419c into main Mar 27, 2026
5 checks passed
@dimoschi dimoschi deleted the feat/packagist-webhook branch March 27, 2026 11:53
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