Make WordPress Core


Ignore:
Timestamp:
10/20/2021 02:40:47 PM (4 years ago)
Author:
desrosj
Message:

Build/Test Tools: Modify the Slack notifications workflow to be a reusable one.

The ability to reuse workflow files within GitHub Action workflows was recently added and allows for less code duplication.

In the context of WordPress Core, this also eliminates the need for an additional “Slack Notifications” workflow to run for every completed workflow.

See #53363.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/phpunit-tests.yml

    r51890 r51921  
    243243          WPT_REPORT_API_KEY: "${{ secrets.WPT_REPORT_API_KEY }}"
    244244        run: docker-compose run --rm -e WPT_REPORT_API_KEY -e WPT_PREPARE_DIR=/var/www -e WPT_TEST_DIR=/var/www php php test-runner/report.php
     245
     246  slack-notifications:
     247    name: Slack Notifications
     248    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@master
     249    needs: [ test-php ]
     250    if: ${{ always() }}
Note: See TracChangeset for help on using the changeset viewer.