From 0d3616a5b773c235274031630450684622bfe264 Mon Sep 17 00:00:00 2001 From: Jimisola Date: Mon, 23 Nov 2026 09:07:19 +0000 Subject: [PATCH] chore: trim comments in shared build workflows Comment-only. Renovate annotations are kept. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM Signed-off-by: Jimisola --- .github/workflows/common-reqstool-verify.yml | 8 -------- .github/workflows/java-build-gradle.yml | 2 -- .github/workflows/java-build-maven.yml | 3 --- .github/workflows/java-lint.yml | 1 - .github/workflows/java-smoke.yml | 4 ---- .github/workflows/python-build-hatch.yml | 3 --- .github/workflows/python-build-poetry.yml | 1 - .github/workflows/python-smoke.yml | 6 ------ .github/workflows/typescript-build.yml | 8 -------- .github/workflows/typescript-smoke.yml | 3 --- 10 files changed, 39 deletions(-) diff --git a/.github/workflows/common-reqstool-verify.yml b/.github/workflows/common-reqstool-verify.yml index 74f96e6..4694441 100644 --- a/.github/workflows/common-reqstool-verify.yml +++ b/.github/workflows/common-reqstool-verify.yml @@ -1,9 +1,5 @@ name: Verify (reqstool) -# The reqstool gate shared by every repo: install reqstool from PyPI and from -# reqstool-client@main, then run `reqstool status` over the caller's checkout -# plus the build/ output (junit, coverage, annotations) produced by the build -# workflow. Replaces the identical tail of each repo's inline build job. on: workflow_call: @@ -50,14 +46,10 @@ jobs: name: ${{ inputs.build-artifact }} path: ${{ inputs.build-directory }} - # Composite actions of this repo are addressed by full path and pinned to a - # released SHA like any other caller (`./` would resolve against the caller's - # workspace); Renovate bumps them with every other reqstool/.github pin. - uses: reqstool/.github/.github/actions/install-reqstool@6fc8d3e3d4c3fdf7a83cb7b7a274e4761486ca71 # 1.2.1 with: reqstool-source: ${{ matrix.reqstool-source }} - # Not yet in the latest PyPI release; supplementary to the status gate. - if: matrix.reqstool-source == 'main' uses: reqstool/.github/.github/actions/validate-reqstool@6fc8d3e3d4c3fdf7a83cb7b7a274e4761486ca71 # 1.2.1 with: diff --git a/.github/workflows/java-build-gradle.yml b/.github/workflows/java-build-gradle.yml index b563da7..b5da71a 100644 --- a/.github/workflows/java-build-gradle.yml +++ b/.github/workflows/java-build-gradle.yml @@ -59,7 +59,6 @@ jobs: working-directory: ${{ inputs.working-directory }} steps: # Full history and tags: the version is derived from git state by - # git-dyn-semver, so a shallow clone would build the wrong number rather than fail. - uses: actions/checkout@v7.0.1 with: persist-credentials: false @@ -112,7 +111,6 @@ jobs: ${{ inputs.working-directory }}/build/libs/*.jar if-no-files-found: ignore - # build/ output (test reports, annotations, reqstool zip) for the reqstool verify job. - uses: actions/upload-artifact@v7.0.2 with: name: ${{ inputs.artifact-name }}-build diff --git a/.github/workflows/java-build-maven.yml b/.github/workflows/java-build-maven.yml index 43c438f..48410df 100644 --- a/.github/workflows/java-build-maven.yml +++ b/.github/workflows/java-build-maven.yml @@ -58,8 +58,6 @@ jobs: run: working-directory: ${{ inputs.working-directory }} steps: - # Full history and tags: the version is derived from git state by - # Nisse, so a shallow clone would build the wrong number rather than fail. - uses: actions/checkout@v7.0.1 with: persist-credentials: false @@ -113,7 +111,6 @@ jobs: ${{ inputs.working-directory }}/target/*.pom if-no-files-found: ignore - # target/ output (test reports, annotations, reqstool zip) for the reqstool verify job. - uses: actions/upload-artifact@v7.0.2 with: name: ${{ inputs.artifact-name }}-build diff --git a/.github/workflows/java-lint.yml b/.github/workflows/java-lint.yml index 5457d9c..fd2301e 100644 --- a/.github/workflows/java-lint.yml +++ b/.github/workflows/java-lint.yml @@ -25,7 +25,6 @@ jobs: - uses: actions/checkout@v7.0.1 with: persist-credentials: false - # Version derivation (Nisse / git-dyn-semver) reads git state. fetch-depth: 0 fetch-tags: true diff --git a/.github/workflows/java-smoke.yml b/.github/workflows/java-smoke.yml index 24b146e..e7f44c5 100644 --- a/.github/workflows/java-smoke.yml +++ b/.github/workflows/java-smoke.yml @@ -1,9 +1,5 @@ name: Smoke (Java, any OS) -# Runs a caller-supplied command (e.g. `mvn -B verify`, `./gradlew build`) on a -# matrix of operating systems against the caller's checkout, so path, line-ending -# and locale bugs that Linux cannot show surface. Java projects have no -# installable wheel equivalent, so the build itself is the smoke. on: workflow_call: diff --git a/.github/workflows/python-build-hatch.yml b/.github/workflows/python-build-hatch.yml index 17d55cf..dd0e54e 100644 --- a/.github/workflows/python-build-hatch.yml +++ b/.github/workflows/python-build-hatch.yml @@ -77,7 +77,6 @@ jobs: # renovate: datasource=pypi depName=hatch - run: pip install hatch==1.18.2 - # Build first: e2e tests of plugins install the wheel/sdist from dist/. - run: hatch build - run: hatch run dev:pytest @@ -105,7 +104,6 @@ jobs: # renovate: datasource=pypi depName=hatch - run: pip install hatch==1.18.2 - # Build before the tests: e2e tests of plugins install the wheel/sdist from dist/. - name: Build run: hatch build @@ -134,7 +132,6 @@ jobs: name: ${{ inputs.artifact-name }} path: ${{ inputs.working-directory }}/dist/ - # build/ output (junit, coverage, annotations) for the reqstool verify job. - uses: actions/upload-artifact@v7.0.2 with: name: ${{ inputs.artifact-name }}-build diff --git a/.github/workflows/python-build-poetry.yml b/.github/workflows/python-build-poetry.yml index 22a41c9..816b987 100644 --- a/.github/workflows/python-build-poetry.yml +++ b/.github/workflows/python-build-poetry.yml @@ -151,7 +151,6 @@ jobs: name: ${{ inputs.artifact-name }} path: ${{ inputs.working-directory }}/dist/ - # build/ output (junit, coverage, annotations) for the reqstool verify job. - uses: actions/upload-artifact@v7.0.2 with: name: ${{ inputs.artifact-name }}-build diff --git a/.github/workflows/python-smoke.yml b/.github/workflows/python-smoke.yml index 174414a..67681c1 100644 --- a/.github/workflows/python-smoke.yml +++ b/.github/workflows/python-smoke.yml @@ -1,9 +1,5 @@ name: Smoke (Python wheel, any OS) -# Installs the wheel produced by the Linux build job on a matrix of operating -# systems and runs a caller-supplied command against the caller's checkout. -# Deliberately does not use hatch: the point is to exercise the *installed* -# package the way a user gets it, and to keep hatch off Windows. on: workflow_call: @@ -67,8 +63,6 @@ jobs: env: REQUIREMENTS: ${{ inputs.requirements }} run: | - # Run from a directory without the source tree on sys.path is not - # needed: src-layout projects do not shadow the installed wheel. # shellcheck disable=SC2086 pip install dist/*.whl $REQUIREMENTS diff --git a/.github/workflows/typescript-build.yml b/.github/workflows/typescript-build.yml index a8006be..3089f78 100644 --- a/.github/workflows/typescript-build.yml +++ b/.github/workflows/typescript-build.yml @@ -93,9 +93,6 @@ jobs: - run: npm ci - # The command is `eval`ed by design -- callers supply their own installer - # line. Read from the environment rather than interpolated into the script - # body so the value cannot terminate the surrounding shell construct. - name: Install dependency if: ${{ inputs.dependency-version != '' && inputs.dependency-install-command != '' }} env: @@ -122,8 +119,6 @@ jobs: run: working-directory: ${{ inputs.working-directory }} steps: - # Full history and tags: the release flow derives the version from git state, - # so a shallow clone would build the wrong number rather than fail. - uses: actions/checkout@v7.0.1 with: persist-credentials: false @@ -156,8 +151,6 @@ jobs: CMD="${INSTALL_COMMAND/\{version\}/$DEP_VERSION}" eval "$CMD" - # Built before the tests so a post-test command (e2e against dist/, - # self-applied tags) can use the build output. - run: npm run build - name: Run tests @@ -197,7 +190,6 @@ jobs: name: ${{ inputs.artifact-name }} path: ${{ inputs.working-directory }}/dist/ - # build/ output (junit, coverage, annotations) for the reqstool verify job. - uses: actions/upload-artifact@v7.0.2 with: name: ${{ inputs.artifact-name }}-build diff --git a/.github/workflows/typescript-smoke.yml b/.github/workflows/typescript-smoke.yml index e4cf505..0c043b4 100644 --- a/.github/workflows/typescript-smoke.yml +++ b/.github/workflows/typescript-smoke.yml @@ -1,8 +1,5 @@ name: Smoke (TypeScript, any OS) -# Runs a caller-supplied command (e.g. `npm test`) on a matrix of operating -# systems against the caller's checkout, so path, line-ending and encoding bugs -# that Linux cannot show surface. on: workflow_call: