Changeset 55520 for branches/5.5/.github/workflows/php-compatibility.yml
- Timestamp:
- 03/10/2023 04:08:39 PM (2 years ago)
- Location:
- branches/5.5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.5
- Property svn:mergeinfo changed
/trunk merged: 53736-53737,53940,53947,54039,54096,54108,54293,54313,54342-54343,54373,54511,54649-54651,54674,54750,54852,55152,55487
- Property svn:mergeinfo changed
-
branches/5.5/.github/workflows/php-compatibility.yml
r53607 r55520 9 9 - '[6-9].[0-9]' 10 10 tags: 11 - '5.[5-9]*' 12 - '[6-9].[0-9]*' 11 - '[0-9]+.[0-9]' 12 - '[0-9]+.[0-9].[0-9]+' 13 - '![34].[0-9].[0-9]+' 14 - '!5.[0-4].[0-9]+' 13 15 pull_request: 14 16 branches: … … 56 58 steps: 57 59 - name: Checkout repository 58 uses: actions/checkout@ 2541b1294d2704b0964813337f33b291d3f8596b # v3.0.260 uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 59 61 60 62 - name: Set up PHP 61 uses: shivammathur/setup-php@ 3eda58347216592f618bb1dff277810b6698e4ca # v2.19.163 uses: shivammathur/setup-php@d30ad8b1843ace22e6698ab99bbafaa747b6bd0d # v2.24.0 62 64 with: 63 65 php-version: '7.4' … … 71 73 72 74 - name: Install Composer dependencies 73 uses: ramsey/composer-install@ f680dac46551dffb2234a240d65ae806c2999dd6 # v2.1.075 uses: ramsey/composer-install@83af392bf5f031813d25e6fe4cd626cdba9a2df6 # v2.2.0 74 76 with: 75 composer-options: "--no-progress --no-ansi --no-interaction"77 composer-options: "--no-progress --no-ansi" 76 78 77 79 - name: Make Composer packages available globally … … 96 98 SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }} 97 99 SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }} 100 101 failed-workflow: 102 name: Failed workflow tasks 103 runs-on: ubuntu-latest 104 needs: [ php-compatibility, slack-notifications ] 105 if: | 106 always() && 107 github.repository == 'WordPress/wordpress-develop' && 108 github.event_name != 'pull_request' && 109 github.run_attempt < 2 && 110 ( 111 needs.php-compatibility.result == 'cancelled' || needs.php-compatibility.result == 'failure' 112 ) 113 114 steps: 115 - name: Dispatch workflow run 116 uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0 117 with: 118 retries: 2 119 retry-exempt-status-codes: 418 120 script: | 121 github.rest.actions.createWorkflowDispatch({ 122 owner: context.repo.owner, 123 repo: context.repo.repo, 124 workflow_id: 'failed-workflow.yml', 125 ref: 'trunk', 126 inputs: { 127 run_id: '${{ github.run_id }}' 128 } 129 });
Note: See TracChangeset
for help on using the changeset viewer.