Skip to content
This repository was archived by the owner on Oct 5, 2026. It is now read-only.

Prepare push repository logic to anywherephp/jack - #38

Merged
TomasVotruba merged 2 commits into
mainfrom
anywhere-push-repository
Jun 7, 2026
Merged

TomasVotruba merged 2 commits into
mainfrom
anywhere-push-repository

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Same change as rectorphp/type-perfect#75, mirroring TomasVotruba/type-coverage@6474f96.

The Downgraded Release workflow now builds the PHP 7.2 downgraded + scoped code and pushes it to https://github.com/anywherephp/jack (already seeded with a main branch), instead of force-pushing downgraded tags back into this repository:

  • trigger on main pushes (updates remote main) and on tags (pushes a tag to the remote repository)
  • the build mechanics are kept as-is: composer update --no-dev, rector-local downgrade of bin src vendor, prefix-code.sh scoping
  • build/target-repository/composer.json renamed to anywherephp/jack + proprietary license
  • added README.md and auto_closer.yaml pointing back here, removed FUNDING.yml

Jack-specific details:

  • the remote .gitignore is removed before committing, because it ignores /vendor — and this scoped build ships its vendor
  • kept bare_run.yaml in the target repository — it runs bin/jack from checkout on PHP 7.2–8.2, so it smoke-tests every pushed build (unlike type-perfect's standalone_install.yaml, it does not depend on Packagist)
  • also stops shipping composer.lock and composer-dependency-analyser.php in the build

⚠️ Notes:

  • this replaces the self-tagging downgraded release of rector/jack
  • requires the WORKFLOWS_TOKEN secret (already used by the old workflow) to have push access to the anywherephp org

@TomasVotruba
TomasVotruba merged commit a021e6d into main Jun 7, 2026
10 checks passed
@TomasVotruba
TomasVotruba deleted the anywhere-push-repository branch June 7, 2026 18:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant