Changeset 63183
- Timestamp:
- 08/11/2026 08:13:21 PM (8 hours ago)
- Location:
- trunk/.github/workflows
- Files:
-
- 12 edited
-
coding-standards.yml (modified) (2 diffs)
-
end-to-end-tests.yml (modified) (1 diff)
-
javascript-tests.yml (modified) (1 diff)
-
javascript-type-checking.yml (modified) (1 diff)
-
performance.yml (modified) (1 diff)
-
php-compatibility.yml (modified) (1 diff)
-
phpstan-static-analysis.yml (modified) (1 diff)
-
phpunit-tests.yml (modified) (6 diffs)
-
test-and-zip-default-themes.yml (modified) (2 diffs)
-
test-build-processes.yml (modified) (1 diff)
-
upgrade-develop-testing.yml (modified) (2 diffs)
-
workflow-lint.yml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/coding-standards.yml
r63167 r63183 51 51 permissions: 52 52 contents: read 53 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 53 if: | 54 github.repository == 'WordPress/wordpress-develop' || ( 55 github.event_name == 'pull_request' && ( 56 ! github.event.repository.private || 57 ! github.event.pull_request.draft || 58 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 59 ) 60 ) 54 61 55 62 # Runs the JavaScript coding standards checks. … … 59 66 permissions: 60 67 contents: read 61 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 68 if: | 69 github.repository == 'WordPress/wordpress-develop' || ( 70 github.event_name == 'pull_request' && ( 71 ! github.event.repository.private || 72 ! github.event.pull_request.draft || 73 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 74 ) 75 ) 62 76 63 77 slack-notifications: -
trunk/.github/workflows/end-to-end-tests.yml
r63167 r63183 58 58 permissions: 59 59 contents: read 60 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 60 if: | 61 github.repository == 'WordPress/wordpress-develop' || ( 62 github.event_name == 'pull_request' && ( 63 ! github.event.repository.private || 64 ! github.event.pull_request.draft || 65 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 66 ) 67 ) 61 68 strategy: 62 69 fail-fast: false -
trunk/.github/workflows/javascript-tests.yml
r63167 r63183 54 54 permissions: 55 55 contents: read 56 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 56 if: | 57 github.repository == 'WordPress/wordpress-develop' || ( 58 github.event_name == 'pull_request' && ( 59 ! github.event.repository.private || 60 ! github.event.pull_request.draft || 61 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 62 ) 63 ) 57 64 58 65 slack-notifications: -
trunk/.github/workflows/javascript-type-checking.yml
r63167 r63183 47 47 permissions: 48 48 contents: read 49 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 49 if: | 50 github.repository == 'WordPress/wordpress-develop' || ( 51 github.event_name == 'pull_request' && ( 52 ! github.event.repository.private || 53 ! github.event.pull_request.draft || 54 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 55 ) 56 ) 50 57 51 58 slack-notifications: -
trunk/.github/workflows/performance.yml
r63167 r63183 51 51 name: Determine Matrix 52 52 runs-on: ubuntu-24.04 53 if: ${{ ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) && ! contains( github.event.before, '00000000' ) }} 53 if: | 54 ( 55 github.repository == 'WordPress/wordpress-develop' || ( 56 github.event_name == 'pull_request' && ( 57 ! github.event.repository.private || 58 ! github.event.pull_request.draft || 59 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 60 ) 61 ) 62 ) && 63 ! contains( github.event.before, '00000000' ) 54 64 permissions: 55 65 actions: read -
trunk/.github/workflows/php-compatibility.yml
r63167 r63183 43 43 permissions: 44 44 contents: read 45 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 45 if: | 46 github.repository == 'WordPress/wordpress-develop' || ( 47 github.event_name == 'pull_request' && ( 48 ! github.event.repository.private || 49 ! github.event.pull_request.draft || 50 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 51 ) 52 ) 46 53 47 54 slack-notifications: -
trunk/.github/workflows/phpstan-static-analysis.yml
r63167 r63183 43 43 permissions: 44 44 contents: read 45 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 45 if: | 46 github.repository == 'WordPress/wordpress-develop' || ( 47 github.event_name == 'pull_request' && ( 48 ! github.event.repository.private || 49 ! github.event.pull_request.draft || 50 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 51 ) 52 ) 46 53 47 54 slack-notifications: -
trunk/.github/workflows/phpunit-tests.yml
r63167 r63183 59 59 permissions: 60 60 contents: read 61 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 61 if: | 62 github.repository == 'WordPress/wordpress-develop' || ( 63 github.event_name == 'pull_request' && ( 64 ! github.event.repository.private || 65 ! github.event.pull_request.draft || 66 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 67 ) 68 ) 62 69 63 70 # … … 77 84 CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} 78 85 WPT_REPORT_API_KEY: ${{ secrets.WPT_REPORT_API_KEY }} 79 if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }} 86 if: | 87 startsWith( github.repository, 'WordPress/' ) && ( 88 github.repository == 'WordPress/wordpress-develop' || ( 89 github.event_name == 'pull_request' && ( 90 ! github.event.repository.private || 91 ! github.event.pull_request.draft || 92 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 93 ) 94 ) 95 ) 80 96 strategy: 81 97 fail-fast: false … … 160 176 CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} 161 177 WPT_REPORT_API_KEY: ${{ secrets.WPT_REPORT_API_KEY }} 162 if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }} 178 if: | 179 startsWith( github.repository, 'WordPress/' ) && ( 180 github.repository == 'WordPress/wordpress-develop' || ( 181 github.event_name == 'pull_request' && ( 182 ! github.event.repository.private || 183 ! github.event.pull_request.draft || 184 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 185 ) 186 ) 187 ) 163 188 strategy: 164 189 fail-fast: false … … 218 243 CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} 219 244 WPT_REPORT_API_KEY: ${{ secrets.WPT_REPORT_API_KEY }} 220 if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }} 245 if: | 246 startsWith( github.repository, 'WordPress/' ) && ( 247 github.repository == 'WordPress/wordpress-develop' || ( 248 github.event_name == 'pull_request' && ( 249 ! github.event.repository.private || 250 ! github.event.pull_request.draft || 251 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 252 ) 253 ) 254 ) 221 255 strategy: 222 256 fail-fast: false … … 265 299 CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} 266 300 WPT_REPORT_API_KEY: ${{ secrets.WPT_REPORT_API_KEY }} 267 if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }} 301 if: | 302 startsWith( github.repository, 'WordPress/' ) && ( 303 github.repository == 'WordPress/wordpress-develop' || ( 304 github.event_name == 'pull_request' && ( 305 ! github.event.repository.private || 306 ! github.event.pull_request.draft || 307 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 308 ) 309 ) 310 ) 268 311 strategy: 269 312 fail-fast: false … … 299 342 CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} 300 343 WPT_REPORT_API_KEY: ${{ secrets.WPT_REPORT_API_KEY }} 301 if: ${{ ! startsWith( github.repository, 'WordPress/' ) && github.event_name == 'pull_request' }} 344 if: | 345 ! startsWith( github.repository, 'WordPress/' ) && 346 github.event_name == 'pull_request' && ( 347 ! github.event.repository.private || 348 ! github.event.pull_request.draft || 349 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 350 ) 302 351 strategy: 303 352 fail-fast: false -
trunk/.github/workflows/test-and-zip-default-themes.yml
r62742 r63183 70 70 contents: read 71 71 timeout-minutes: 10 72 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 72 if: | 73 github.repository == 'WordPress/wordpress-develop' || ( 74 github.event_name == 'pull_request' && ( 75 ! github.event.repository.private || 76 ! github.event.pull_request.draft || 77 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 78 ) 79 ) 73 80 strategy: 74 81 fail-fast: false … … 120 127 contents: read 121 128 timeout-minutes: 10 122 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 129 if: | 130 github.repository == 'WordPress/wordpress-develop' || ( 131 github.event_name == 'pull_request' && ( 132 ! github.event.repository.private || 133 ! github.event.pull_request.draft || 134 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 135 ) 136 ) 123 137 strategy: 124 138 fail-fast: false -
trunk/.github/workflows/test-build-processes.yml
r63167 r63183 52 52 permissions: 53 53 contents: read 54 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 54 if: | 55 github.repository == 'WordPress/wordpress-develop' || ( 56 github.event_name == 'pull_request' && ( 57 ! github.event.repository.private || 58 ! github.event.pull_request.draft || 59 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 60 ) 61 ) 55 62 strategy: 56 63 fail-fast: false -
trunk/.github/workflows/upgrade-develop-testing.yml
r63167 r63183 44 44 build: 45 45 name: Build 46 uses: WordPress/wordpress-develop/.github/workflows/reusable-build-package.yml@trunk 47 if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }} 46 uses: ./.github/workflows/reusable-build-package.yml 47 if: | 48 startsWith( github.repository, 'WordPress/' ) && ( 49 github.repository == 'WordPress/wordpress-develop' || ( 50 github.event_name == 'pull_request' && ( 51 ! github.event.repository.private || 52 ! github.event.pull_request.draft || 53 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 54 ) 55 ) 56 ) 48 57 permissions: 49 58 contents: read … … 87 96 upgrade-tests-develop-forks: 88 97 name: Upgrade from ${{ matrix.wp }} 89 uses: WordPress/wordpress-develop/.github/workflows/reusable-upgrade-testing.yml@trunk 90 if: ${{ github.repository != 'WordPress/wordpress-develop' }} 98 uses: ./.github/workflows/reusable-upgrade-testing.yml 99 # This job also runs for the push event, which has no draft state to check. 100 if: | 101 github.repository != 'WordPress/wordpress-develop' && ( 102 github.event_name != 'pull_request' || 103 ! github.event.repository.private || 104 ! github.event.pull_request.draft || 105 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 106 ) 91 107 needs: [ build ] 92 108 permissions: -
trunk/.github/workflows/workflow-lint.yml
r63167 r63183 33 33 lint: 34 34 name: Lint GitHub Action files 35 uses: WordPress/wordpress-develop/.github/workflows/reusable-workflow-lint.yml@trunk 36 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 35 uses: ./.github/workflows/reusable-workflow-lint.yml 36 if: | 37 github.repository == 'WordPress/wordpress-develop' || ( 38 github.event_name == 'pull_request' && ( 39 ! github.event.repository.private || 40 ! github.event.pull_request.draft || 41 contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) 42 ) 43 ) 37 44 permissions: 38 45 security-events: write
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)