Skip to content

Fix check workflow failure in Gradle wrapper validation#372

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-check-job-failure
Draft

Fix check workflow failure in Gradle wrapper validation#372
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-check-job-failure

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 22, 2026

The check workflow was failing before any Gradle tasks ran because the wrapper validation step used an obsolete action. This updates the workflow to the maintained Gradle wrapper validation action and refreshes the checkout action pin used by the same job.

  • Workflow fix

    • Replace gradle/wrapper-validation-action with gradle/actions/wrapper-validation
    • Keep the step behavior the same while moving to the supported action lineage
  • Action pin refresh

    • Update actions/checkout to a current pinned SHA
    • Removes reliance on the older checkout release used by the failing job
  • Net effect

    • The check job can proceed past wrapper validation instead of failing at step 4
    • Checkstyle, PMD, and tests are no longer blocked by the workflow action failure
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Validate Gradle wrapper
  uses: gradle/actions/wrapper-validation@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0

Agent-Logs-Url: https://github.com/getyourguide/openapi-validation-java/sessions/91f3a4b3-f144-401b-8563-8d3942f7cc62

Co-authored-by: catarina-correia <93409185+catarina-correia@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job check Fix check workflow failure in Gradle wrapper validation May 22, 2026
Copilot AI requested a review from catarina-correia May 22, 2026 14:36
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.

2 participants