Skip to content

ci: skip cpx package install for Dependabot PRs - #12

Closed
SRWieZ wants to merge 1 commit into
mainfrom
ci/skip-cpx-for-dependabot-prs
Closed

SRWieZ wants to merge 1 commit into
mainfrom
ci/skip-cpx-for-dependabot-prs

Conversation

@SRWieZ

@SRWieZ SRWieZ commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Skip the package-install CPX smoke test only when a pull-request head branch contains /.
  • CPX cannot resolve slash-containing branch names as Composer package constraints; normal pull requests and main retain the smoke test.

Verification

  • python3 -c "import yaml; yaml.safe_load(open('.github/workflows/test.yml'))"
  • composer validate --strict --no-check-publish
  • composer install --no-interaction --prefer-dist --no-progress
  • ./vendor/bin/pest — 19 passed, 11 skipped
  • ./vendor/bin/pint --test
  • cpx knotsphp/publicip:dev-main --help
  • ./vendor/bin/phpstan analyse --no-progress — 3 existing new.staticInAbstractClassStaticMethod errors, reproduced unchanged on base commit 75a3552.

@SRWieZ
SRWieZ force-pushed the ci/skip-cpx-for-dependabot-prs branch from 7ce290e to a60efd0 Compare November 9, 2026 07:31
@SRWieZ SRWieZ closed this Nov 13, 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.

1 participant