Changeset 55715
- Timestamp:
- 05/03/2023 10:15:27 PM (17 months ago)
- Location:
- trunk/.github/workflows
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/coding-standards.yml
r55487 r55715 41 41 cancel-in-progress: true 42 42 43 # Disable permissions for all available scopes by default. 44 # Any needed permissions should be configured at the job level. 45 permissions: {} 46 43 47 jobs: 44 48 # Runs PHP coding standards checks. … … 60 64 name: PHP coding standards 61 65 runs-on: ubuntu-latest 66 permissions: 67 contents: read 62 68 timeout-minutes: 20 63 69 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} … … 131 137 name: JavaScript coding standards 132 138 runs-on: ubuntu-latest 139 permissions: 140 contents: read 133 141 timeout-minutes: 20 134 142 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} … … 178 186 name: Failed workflow tasks 179 187 runs-on: ubuntu-latest 188 permissions: 189 actions: write 180 190 needs: [ phpcs, jshint, slack-notifications ] 181 191 if: | -
trunk/.github/workflows/end-to-end-tests.yml
r55152 r55715 27 27 cancel-in-progress: true 28 28 29 # Disable permissions for all available scopes by default. 30 # Any needed permissions should be configured at the job level. 31 permissions: {} 32 29 33 env: 30 34 LOCAL_DIR: build … … 49 53 name: E2E Tests 50 54 runs-on: ubuntu-latest 55 permissions: 56 contents: read 51 57 timeout-minutes: 20 52 58 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} … … 124 130 name: Failed workflow tasks 125 131 runs-on: ubuntu-latest 132 permissions: 133 actions: write 126 134 needs: [ e2e-tests, slack-notifications ] 127 135 if: | -
trunk/.github/workflows/failed-workflow.yml
r55152 r55715 12 12 type: 'string' 13 13 14 # Disable permissions for all available scopes by default. 15 # Any needed permissions should be configured at the job level. 16 permissions: {} 17 14 18 jobs: 15 19 # Attempts to rerun a workflow. … … 21 25 name: Rerun a workflow 22 26 runs-on: ubuntu-latest 27 permissions: 28 actions: write 23 29 timeout-minutes: 5 24 30 -
trunk/.github/workflows/javascript-tests.yml
r55152 r55715 39 39 cancel-in-progress: true 40 40 41 # Disable permissions for all available scopes by default. 42 # Any needed permissions should be configured at the job level. 43 permissions: {} 44 41 45 jobs: 42 46 # Runs the QUnit tests for WordPress. … … 52 56 name: QUnit Tests 53 57 runs-on: ubuntu-latest 58 permissions: 59 contents: read 54 60 timeout-minutes: 20 55 61 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} … … 97 103 name: Failed workflow tasks 98 104 runs-on: ubuntu-latest 105 permissions: 106 actions: write 99 107 needs: [ test-js, slack-notifications ] 100 108 if: | -
trunk/.github/workflows/performance.yml
r55508 r55715 25 25 group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} 26 26 cancel-in-progress: true 27 28 # Disable permissions for all available scopes by default. 29 # Any needed permissions should be configured at the job level. 30 permissions: {} 27 31 28 32 env: … … 67 71 name: Run performance tests 68 72 runs-on: ubuntu-latest 73 permissions: 74 contents: read 69 75 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 70 76 … … 205 211 name: Failed workflow tasks 206 212 runs-on: ubuntu-latest 213 permissions: 214 actions: write 207 215 needs: [ performance, slack-notifications ] 208 216 if: | -
trunk/.github/workflows/php-compatibility.yml
r55487 r55715 36 36 cancel-in-progress: true 37 37 38 # Disable permissions for all available scopes by default. 39 # Any needed permissions should be configured at the job level. 40 permissions: {} 41 38 42 jobs: 39 43 … … 55 59 name: Check PHP compatibility 56 60 runs-on: ubuntu-latest 61 permissions: 62 contents: read 57 63 timeout-minutes: 20 58 64 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} … … 122 128 name: Failed workflow tasks 123 129 runs-on: ubuntu-latest 130 permissions: 131 actions: write 124 132 needs: [ php-compatibility, slack-notifications ] 125 133 if: | -
trunk/.github/workflows/phpunit-tests.yml
r55487 r55715 26 26 group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} 27 27 cancel-in-progress: true 28 29 # Disable permissions for all available scopes by default. 30 # Any needed permissions should be configured at the job level. 31 permissions: {} 28 32 29 33 env: … … 55 59 name: ${{ matrix.php }}${{ matrix.multisite && ' multisite' || '' }}${{ matrix.split_slow && ' slow tests' || '' }}${{ matrix.memcached && ' with memcached' || '' }} on ${{ matrix.os }} 56 60 runs-on: ${{ matrix.os }} 61 permissions: 62 contents: read 57 63 timeout-minutes: 20 58 64 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} … … 234 240 name: Failed workflow tasks 235 241 runs-on: ubuntu-latest 242 permissions: 243 actions: write 236 244 needs: [ test-php, slack-notifications ] 237 245 if: | -
trunk/.github/workflows/slack-notifications.yml
r55152 r55715 26 26 description: 'The Slack webhook URL for a failed build.' 27 27 required: true 28 29 # Disable permissions for all available scopes by default. 30 # Any needed permissions should be configured at the job level. 31 permissions: {} 28 32 29 33 env: … … 45 49 name: Prepare notifications 46 50 runs-on: ubuntu-latest 51 permissions: 52 actions: read 53 contents: read 47 54 timeout-minutes: 5 48 55 if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event.workflow_run.event != 'pull_request' }} -
trunk/.github/workflows/test-and-zip-default-themes.yml
r55152 r55715 45 45 cancel-in-progress: true 46 46 47 # Disable permissions for all available scopes by default. 48 # Any needed permissions should be configured at the job level. 49 permissions: {} 50 47 51 jobs: 48 52 # Tests the build script for themes that have one. … … 57 61 name: Test ${{ matrix.theme }} build script 58 62 runs-on: ubuntu-latest 63 permissions: 64 contents: read 59 65 timeout-minutes: 10 60 66 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} … … 102 108 name: Create ${{ matrix.theme }} ZIP file 103 109 runs-on: ubuntu-latest 110 permissions: 111 contents: read 104 112 needs: [ test-build-scripts ] 105 113 timeout-minutes: 10 … … 153 161 name: Failed workflow tasks 154 162 runs-on: ubuntu-latest 163 permissions: 164 actions: write 155 165 needs: [ test-build-scripts, bundle-theme, slack-notifications ] 156 166 if: | -
trunk/.github/workflows/test-coverage.yml
r55487 r55715 24 24 # Allow manually triggering the workflow. 25 25 workflow_dispatch: 26 27 # Disable permissions for all available scopes by default. 28 # Any needed permissions should be configured at the job level. 29 permissions: {} 26 30 27 31 env: … … 57 61 name: ${{ matrix.multisite && 'Multisite' || 'Single site' }} report 58 62 runs-on: ubuntu-latest 63 permissions: 64 contents: read 59 65 timeout-minutes: 120 60 66 if: ${{ github.repository == 'WordPress/wordpress-develop' }} … … 183 189 name: Failed workflow tasks 184 190 runs-on: ubuntu-latest 191 permissions: 192 actions: write 185 193 needs: [ test-coverage-report, slack-notifications ] 186 194 if: | -
trunk/.github/workflows/test-npm.yml
r55152 r55715 34 34 cancel-in-progress: true 35 35 36 # Disable permissions for all available scopes by default. 37 # Any needed permissions should be configured at the job level. 38 permissions: {} 39 36 40 env: 37 41 PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: ${{ true }} … … 54 58 name: Test npm on ${{ matrix.os }} 55 59 runs-on: ${{ matrix.os }} 60 permissions: 61 contents: read 56 62 timeout-minutes: 20 57 63 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} … … 123 129 name: Test npm on MacOS 124 130 runs-on: macos-latest 131 permissions: 132 contents: read 125 133 timeout-minutes: 30 126 134 if: ${{ github.repository == 'WordPress/wordpress-develop' }} … … 180 188 name: Failed workflow tasks 181 189 runs-on: ubuntu-latest 190 permissions: 191 actions: write 182 192 needs: [ test-npm, test-npm-macos, slack-notifications ] 183 193 if: | -
trunk/.github/workflows/test-old-branches.yml
r55507 r55715 13 13 - cron: '0 0 15 * *' 14 14 15 # Disable permissions for all available scopes by default. 16 # Any needed permissions should be configured at the job level. 17 permissions: {} 18 15 19 jobs: 16 20 dispatch-workflows-for-old-branches: 17 21 name: ${{ matrix.workflow }} for ${{ matrix.branch }} 18 22 runs-on: ubuntu-latest 23 permissions: 24 actions: write 19 25 timeout-minutes: 20 20 26 if: ${{ github.repository == 'WordPress/wordpress-develop' }} -
trunk/.github/workflows/welcome-new-contributors.yml
r55487 r55715 5 5 types: [ opened ] 6 6 7 # Disable permissions for all available scopes by default. 8 # Any needed permissions should be configured at the job level. 9 permissions: {} 10 7 11 jobs: 8 12 # Comments on a pull request when the author is a new contributor. 9 13 post-welcome-message: 10 14 runs-on: ubuntu-latest 15 permissions: 16 issues: write 11 17 timeout-minutes: 5 12 18 if: ${{ github.repository == 'WordPress/wordpress-develop' }}
Note: See TracChangeset
for help on using the changeset viewer.