Changeset 50930
- Timestamp:
- 05/19/2021 05:36:54 PM (3 years ago)
- Location:
- trunk/.github/workflows
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/coding-standards.yml
r50590 r50930 34 34 - '.github/workflows/*.yml' 35 35 workflow_dispatch: 36 37 # Cancels all previous workflow runs for pull requests that have not completed. 38 concurrency: 39 # The concurrency group contains the workflow name and the branch name for pull requests 40 # or the commit hash for any other events. 41 group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} 42 cancel-in-progress: true 36 43 37 44 jobs: -
trunk/.github/workflows/end-to-end-tests.yml
r50590 r50930 20 20 workflow_dispatch: 21 21 22 # Cancels all previous workflow runs for pull requests that have not completed. 23 concurrency: 24 # The concurrency group contains the workflow name and the branch name for pull requests 25 # or the commit hash for any other events. 26 group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} 27 cancel-in-progress: true 28 22 29 env: 23 30 LOCAL_DIR: build … … 27 34 # 28 35 # Performs the following steps: 29 # - Cancels all previous workflow runs for pull requests that have not completed.30 36 # - Set environment variables. 31 37 # - Checks out the repository. … … 48 54 49 55 steps: 50 - name: Cancel previous runs of this workflow (pull requests only)51 if: ${{ github.event_name == 'pull_request' }}52 uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d # v0.8.053 54 56 - name: Configure environment variables 55 57 run: | -
trunk/.github/workflows/javascript-tests.yml
r50590 r50930 33 33 workflow_dispatch: 34 34 35 # Cancels all previous workflow runs for pull requests that have not completed. 36 concurrency: 37 # The concurrency group contains the workflow name and the branch name for pull requests 38 # or the commit hash for any other events. 39 group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} 40 cancel-in-progress: true 41 35 42 jobs: 36 43 # Runs the QUnit tests for WordPress. 37 44 # 38 45 # Performs the following steps: 39 # - Cancels all previous workflow runs for pull requests that have not completed.40 46 # - Checks out the repository. 41 47 # - Logs debug information about the runner container. … … 52 58 53 59 steps: 54 - name: Cancel previous runs of this workflow (pull requests only)55 if: ${{ github.event_name == 'pull_request' }}56 uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d # v0.8.057 58 60 - name: Checkout repository 59 61 uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4 -
trunk/.github/workflows/php-compatibility.yml
r50590 r50930 28 28 - '.github/workflows/*.yml' 29 29 workflow_dispatch: 30 31 # Cancels all previous workflow runs for pull requests that have not completed. 32 concurrency: 33 # The concurrency group contains the workflow name and the branch name for pull requests 34 # or the commit hash for any other events. 35 group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} 36 cancel-in-progress: true 30 37 31 38 jobs: -
trunk/.github/workflows/phpunit-tests.yml
r50704 r50930 22 22 - cron: '0 0 * * 0' 23 23 24 # Cancels all previous workflow runs for pull requests that have not completed. 25 concurrency: 26 # The concurrency group contains the workflow name and the branch name for pull requests 27 # or the commit hash for any other events. 28 group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} 29 cancel-in-progress: true 30 24 31 env: 25 32 PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: ${{ true }} … … 31 38 32 39 jobs: 33 # Sets up the workflow for testing.34 #35 # Performs the following steps:36 # - Cancels all previous workflow runs for pull requests that have not completed.37 setup-workflow:38 name: Setup Workflow39 runs-on: ubuntu-latest40 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}41 42 steps:43 - name: Cancel previous runs of this workflow (pull requests only)44 if: ${{ github.event_name == 'pull_request' }}45 uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d # v0.8.046 47 40 # Runs the PHPUnit tests for WordPress. 48 41 # -
trunk/.github/workflows/test-npm.yml
r50796 r50930 26 26 workflow_dispatch: 27 27 28 # Cancels all previous workflow runs for pull requests that have not completed. 29 concurrency: 30 # The concurrency group contains the workflow name and the branch name for pull requests 31 # or the commit hash for any other events. 32 group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} 33 cancel-in-progress: true 34 28 35 env: 29 36 PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: ${{ true }} 30 37 31 38 jobs: 32 # Prepares the workflow.33 #34 # Performs the following steps:35 # - Cancels all previous workflow runs for pull requests that have not completed.36 prepare-workflow:37 name: Prepare the workflow38 runs-on: ubuntu-latest39 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}40 41 steps:42 - name: Cancel previous runs of this workflow (pull requests only)43 if: ${{ github.event_name == 'pull_request' }}44 uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d # v0.8.045 46 39 # Verifies that installing NPM dependencies and building WordPress works as expected. 47 40 # … … 60 53 runs-on: ${{ matrix.os }} 61 54 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 62 needs: prepare-workflow63 55 strategy: 64 56 fail-fast: false … … 135 127 runs-on: macos-latest 136 128 if: ${{ github.repository == 'WordPress/wordpress-develop' }} 137 needs: prepare-workflow138 129 steps: 139 130 - name: Checkout repository
Note: See TracChangeset
for help on using the changeset viewer.