Make WordPress Core

Changeset 52130


Ignore:
Timestamp:
11/10/2021 08:58:15 PM (3 years ago)
Author:
jorbin
Message:

Build/Test: Change default GitHub branch to trunk

See: https://make.wordpress.org/core/2021/11/10/default-git-branch-for-wordpress-wordpress-develop/
See: https://make.wordpress.org/core/2020/06/18/proposal-update-all-git-repositories-to-use-main-instead-of-master/

Fixes #54399

Location:
trunk/.github/workflows
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/coding-standards.yml

    r52002 r52130  
    66  push:
    77    branches:
    8       - master
    98      - trunk
    109      - '3.[89]'
     
    1514  pull_request:
    1615    branches:
    17       - master
    1816      - trunk
    1917      - '3.[89]'
     
    150148  slack-notifications:
    151149    name: Slack Notifications
    152     uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@master
     150    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
    153151    needs: [ phpcs, jshint ]
    154152    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
  • trunk/.github/workflows/end-to-end-tests.yml

    r52002 r52130  
    55  push:
    66    branches:
    7       - master
    87      - trunk
    98      - '5.[3-9]'
     
    1413  pull_request:
    1514    branches:
    16       - master
    1715      - trunk
    1816      - '5.[3-9]'
     
    120118  slack-notifications:
    121119    name: Slack Notifications
    122     uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@master
     120    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
    123121    needs: [ e2e-tests ]
    124122    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
  • trunk/.github/workflows/javascript-tests.yml

    r52002 r52130  
    55  push:
    66    branches:
    7       - master
    87      - trunk
    98      - '3.[89]'
     
    1413  pull_request:
    1514    branches:
    16       - master
    1715      - trunk
    1816      - '3.[89]'
     
    8987  slack-notifications:
    9088    name: Slack Notifications
    91     uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@master
     89    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
    9290    needs: [ test-js ]
    9391    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
  • trunk/.github/workflows/php-compatibility.yml

    r52002 r52130  
    55  push:
    66    branches:
    7       - master
    87      - trunk
    98      - '5.[5-9]'
     
    1413  pull_request:
    1514    branches:
    16       - master
    1715      - trunk
    1816      - '5.[5-9]'
     
    9189  slack-notifications:
    9290    name: Slack Notifications
    93     uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@master
     91    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
    9492    needs: [ php-compatibility ]
    9593    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
  • trunk/.github/workflows/phpunit-tests.yml

    r52002 r52130  
    44  push:
    55    branches:
    6       - master
    76      - trunk
    87      - '3.[7-9]'
     
    1312  pull_request:
    1413    branches:
    15       - master
    1614      - trunk
    1715      - '3.[7-9]'
     
    232230
    233231      - name: Checkout the WordPress Test Reporter
    234         if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/master' && matrix.report }}
     232        if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/trunk' && matrix.report }}
    235233        uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
    236234        with:
     
    239237
    240238      - name: Submit test results to the WordPress.org host test results
    241         if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/master' && matrix.report }}
     239        if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/trunk' && matrix.report }}
    242240        env:
    243241          WPT_REPORT_API_KEY: "${{ secrets.WPT_REPORT_API_KEY }}"
     
    246244  slack-notifications:
    247245    name: Slack Notifications
    248     uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@master
     246    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
    249247    needs: [ test-php ]
    250248    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
  • trunk/.github/workflows/test-coverage.yml

    r52002 r52130  
    55  push:
    66    branches:
    7       - master
    87      - trunk
    98    paths:
     
    172171  slack-notifications:
    173172    name: Slack Notifications
    174     uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@master
     173    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
    175174    needs: [ test-coverage-report ]
    176175    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
  • trunk/.github/workflows/test-npm.yml

    r52002 r52130  
    44  push:
    55    branches:
    6       - master
    76      - trunk
    87      - '3.[7-9]'
     
    109  pull_request:
    1110    branches:
    12       - master
    1311      - trunk
    1412      - '3.[7-9]'
     
    158156  slack-notifications:
    159157    name: Slack Notifications
    160     uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@master
     158    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
    161159    needs: [ test-npm, test-npm-macos ]
    162160    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
  • trunk/.github/workflows/test-old-branches.yml

    r52002 r52130  
    55  push:
    66    branches:
    7       - master
    87      - trunk
    98    paths:
     
    7372  slack-notifications:
    7473    name: Slack Notifications
    75     uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@master
     74    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
    7675    needs: [ dispatch-workflows-for-old-branches ]
    7776    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
Note: See TracChangeset for help on using the changeset viewer.