From e6b16bc75541c0333a45628e8d212a346e87411d Mon Sep 17 00:00:00 2001 From: Peter Amiri Date: Mon, 12 Oct 2026 11:00:28 -0700 Subject: [PATCH] ci: commit only the bump files in the auto-bump PRs create-pull-request stages every change in the working tree by default. The RustCFML version check runs the full suite first, so its first real bump PR (#4577) also committed public/logs/*.log and tools/ci/__pycache__/*.pyc. - rustcfml-version-check.yml: add-paths limited to the four files bump-pin.sh and run-suite.sh --write-baseline produce. - bump-develop-version.yml: add-paths: wheels.json. Its PRs only ever contained wheels.json; this keeps it that way. - .gitignore: public/logs/ and __pycache__/. - Both steps document that a GITHUB_TOKEN-opened PR starts no CI: whoever handles it pushes a commit (an empty one is fine) to start it. Refs #4577 Co-Authored-By: Claude Opus 5.5 Signed-off-by: Peter Amiri --- .github/workflows/bump-develop-version.yml | 5 +++++ .github/workflows/rustcfml-version-check.yml | 14 ++++++++++++++ .gitignore | 6 ++++++ 3 files changed, 25 insertions(+) diff --git a/.github/workflows/bump-develop-version.yml b/.github/workflows/bump-develop-version.yml index db8c952ade..83dbf28ab0 100644 --- a/.github/workflows/bump-develop-version.yml +++ b/.github/workflows/bump-develop-version.yml @@ -102,8 +102,13 @@ jobs: jq '.version' wheels.json - name: Open bump PR + # add-paths: commit only wheels.json, whatever else is in the tree. + # CI: a PR opened with GITHUB_TOKEN does not trigger workflows. Whoever + # handles the bump PR pushes a commit (an empty one is fine) to its + # branch to start CI. uses: peter-evans/create-pull-request@v8.1.1 with: + add-paths: wheels.json branch: "auto-bump/develop-${{ env.NEW_VERSION }}" title: "chore: bump develop snapshot target to ${{ env.NEW_VERSION }}" body: | diff --git a/.github/workflows/rustcfml-version-check.yml b/.github/workflows/rustcfml-version-check.yml index bb817cbc90..abdc725b3c 100644 --- a/.github/workflows/rustcfml-version-check.yml +++ b/.github/workflows/rustcfml-version-check.yml @@ -54,9 +54,23 @@ jobs: - name: Open bump PR # Only from develop: a branch dispatch that happens to go green must not # open a bump PR built on a feature branch. + # + # add-paths: the suite run leaves logs and caches in the working tree + # (public/logs/, tools/ci/__pycache__/), and create-pull-request stages + # every change by default, so commit only the files bump-pin.sh and + # --write-baseline produce (#4577). + # + # CI: a PR opened with GITHUB_TOKEN does not trigger workflows. Whoever + # handles the bump PR pushes a commit (an empty one is fine) to its + # branch to start CI, as for the develop version bump. if: env.RUSTCFML_LATEST != '' && github.ref == 'refs/heads/develop' uses: peter-evans/create-pull-request@v8.1.1 with: + add-paths: | + tools/rustcfml/ENGINE_VERSION + tools/rustcfml/ENGINE_SHA256 + tools/rustcfml/baseline.json + cli/lucli/services/rustcfml/RustCFMLEngine.cfc branch: "auto-bump/rustcfml-${{ env.RUSTCFML_LATEST }}" title: "chore(rustcfml): bump engine pin to ${{ env.RUSTCFML_LATEST }}" body: | diff --git a/.gitignore b/.gitignore index 8480c16646..612a3feec3 100644 --- a/.gitignore +++ b/.gitignore @@ -120,3 +120,9 @@ lucee.json.test-local.bak # Built at release/snapshot time by tools/build/scripts/build-docs-index.mjs (wheels lookup) cli/lucli/data/docs-index.json + +# Written by the demo app and test runs (e.g. the RustCFML version check, #4577) +public/logs/ + +# Python bytecode from tools/ci scripts +__pycache__/