Skip to content

ci: add pull request validate workflow - #2

Merged
petter merged 2 commits into
mainfrom
ci/add-validate-workflow
Sep 10, 2026
Merged

petter merged 2 commits into
mainfrom
ci/add-validate-workflow

Conversation

@petter

@petter petter commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Why

These repositories had no GitHub Actions check on pull requests. The .NET and Java Travis files are not a required github.com status. A broken build can merge.

This job compiles the committed tree. It does not run generate.sh.

Scope

  • .github/workflows/validate.yml

.NET restores and builds the single EBay.*/EBay.*.csproj. PHP runs composer analyse, then composer test only when composer.json declares a test script. Java runs ./gradlew build --no-daemon.

Tradeoffs

A family allowlist would drift when GraphQL tests appear. The job reads the repository instead.

Blast Radius

Maintainers see a validate check on every pull request. The job uses contents: read and no secrets. Making validate required is a separate ruleset step after the check has reported once.

Verification

The workflow YAML parses. The same bytes landed in all 27 clones. Local dotnet build succeeded on listing-metadata, which has no .slnx. Local composer analyse succeeded on analytics-and-reporting. Local ./gradlew build succeeded on analytics-and-reporting. The PHP test gate matches composer.json. account-management declares test. analytics-and-reporting does not.

@petter
petter merged commit ad28ada into main Sep 10, 2026
1 check passed
@petter
petter deleted the ci/add-validate-workflow branch September 10, 2026 19:37
petter added a commit that referenced this pull request Oct 26, 2026
* ci: add pull request validate workflow

* ci: run validate on Temurin 25
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