From 181964e8eb9e45f6dde298c4c30a7566603875bf Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers <359867+desrosj@users.noreply.github.com> Date: Thu, 5 Nov 2026 17:46:14 -0500 Subject: [PATCH] Build/Test Tools: Remove the Check Built Files workflow from the 6.8 branch. The reusable workflow this calls was removed from `trunk` in [63315], so the workflow now fails before running any jobs on pull requests that touch CSS, JavaScript, JSON, Sass, Composer, or webpack files. This removes the workflow from the 6.8 branch. All workflows that run the build script already fail when it results in changes to version-controlled files. Follow up to [63315]. See #65845. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011Y86gzNmrCaBaUCqQTNKYH --- .github/workflows/check-built-files.yml | 48 ------------------------- 1 file changed, 48 deletions(-) delete mode 100644 .github/workflows/check-built-files.yml diff --git a/.github/workflows/check-built-files.yml b/.github/workflows/check-built-files.yml deleted file mode 100644 index 588ae6700d5e9..0000000000000 --- a/.github/workflows/check-built-files.yml +++ /dev/null @@ -1,48 +0,0 @@ -# Checks for uncommitted changes to built files in pull requests. -name: Check Built Files (PRs) - -on: - # Because all commits happen through SVN and should always be manually reviewed by a committer, this workflow only - # runs for pull requests. - # - # Other workflows that run for the push event will detect changes to versioned files and fail. - pull_request: - branches: - - trunk - - '6.[8-9]' - - '[7-9].[0-9]' - paths: - # Any change to a CSS, JavaScript, JSON, or SASS file should run checks. - - '**.css' - - '**.js' - - '**.json' - - '**.sass' - # These files configure npm and the task runner. Changes could affect the outcome. - - 'package*.json' - - 'Gruntfile.js' - - 'webpack.config.js' - - 'tools/webpack/**' - # These files configure Composer. Changes could affect the outcome. - - 'composer.*' - # Confirm any changes to relevant workflow files. - - '.github/workflows/check-built-files.yml' - -# Cancels all previous workflow runs for pull requests that have not completed. -concurrency: - # The concurrency group contains the workflow name and the branch name for pull requests - # or the commit hash for any other events. - group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} - cancel-in-progress: true - -# Disable permissions for all available scopes by default. -# Any needed permissions should be configured at the job level. -permissions: {} - -jobs: - check-for-built-file-changes: - name: Check built files - # This prevents an unnecessary second run after changes are committed back because Dependabot always rebases and force pushes. - if: ${{ github.repository == 'wordpress/wordpress-develop' && ( github.actor != 'dependabot[bot]' || github.event.commits < 2 ) }} - uses: WordPress/wordpress-develop/.github/workflows/reusable-check-built-files.yml@trunk - permissions: - contents: read