Make WordPress Core

Changeset 61050


Ignore:
Timestamp:
10/22/2025 06:05:41 PM (5 months ago)
Author:
desrosj
Message:

Build/Test Tools: Remove Dependabot-specific workflow conditions.

Since the bot has been disabled, these conditions are no longer necessary.

Follow up to [61049].
See #64140.

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

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/check-built-files.yml

    r60625 r61050  
    4646  check-for-built-file-changes:
    4747    name: Check built files
    48     # This prevents an unnecessary second run after changes are committed back because Dependabot always rebases and force pushes.
    49     if: ${{ github.repository == 'wordpress/wordpress-develop' && ( github.actor != 'dependabot[bot]' || github.event.commits < 2 ) }}
     48    if: ${{ github.repository == 'wordpress/wordpress-develop' }}
    5049    uses: ./.github/workflows/reusable-check-built-files.yml
    5150    permissions:
  • trunk/.github/workflows/coding-standards.yml

    r60628 r61050  
    5555    permissions:
    5656      contents: read
    57     if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
     57    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    5858
    5959  # Runs the JavaScript coding standards checks.
     
    6363    permissions:
    6464      contents: read
    65     if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
     65    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    6666
    6767  slack-notifications:
  • trunk/.github/workflows/commit-built-file-changes.yml

    r60692 r61050  
    161161        working-directory: 'pr-repo'
    162162        run: |
    163           git commit -m "Automation: Updating built files with changes. [dependabot skip]"
     163          git commit -m "Automation: Updating built files with changes."
    164164
    165165      - name: Push changes
  • trunk/.github/workflows/end-to-end-tests.yml

    r60628 r61050  
    6161    permissions:
    6262      contents: read
    63     if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
     63    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    6464    strategy:
    6565      fail-fast: false
  • trunk/.github/workflows/javascript-tests.yml

    r60625 r61050  
    5656    permissions:
    5757      contents: read
    58     if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
     58    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    5959
    6060  slack-notifications:
  • trunk/.github/workflows/performance.yml

    r60735 r61050  
    5454    name: Determine Matrix
    5555    runs-on: ubuntu-24.04
    56     if: ${{ ( github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) ) && ! contains( github.event.before, '00000000' ) }}
     56    if: ${{ ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) && ! contains( github.event.before, '00000000' ) }}
    5757    permissions:
    5858      actions: read
  • trunk/.github/workflows/php-compatibility.yml

    r60080 r61050  
    4848    permissions:
    4949      contents: read
    50     if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
     50    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    5151
    5252  slack-notifications:
  • trunk/.github/workflows/phpunit-tests.yml

    r61018 r61050  
    6868      contents: read
    6969    secrets: inherit
    70     if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) ) }}
     70    if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }}
    7171    strategy:
    7272      fail-fast: false
     
    204204      contents: read
    205205    secrets: inherit
    206     if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) ) }}
     206    if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }}
    207207    strategy:
    208208      fail-fast: false
     
    451451      contents: read
    452452    secrets: inherit
    453     if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) ) }}
     453    if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }}
    454454    strategy:
    455455      fail-fast: false
     
    518518      contents: read
    519519    secrets: inherit
    520     if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) ) }}
     520    if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }}
    521521    strategy:
    522522      fail-fast: false
     
    547547      contents: read
    548548    secrets: inherit
    549     if: ${{ ! startsWith( github.repository, 'WordPress/' ) && github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' }}
     549    if: ${{ ! startsWith( github.repository, 'WordPress/' ) && github.event_name == 'pull_request' }}
    550550    strategy:
    551551      fail-fast: false
  • trunk/.github/workflows/pull-request-comments.yml

    r60327 r61050  
    126126      - name: Leave a comment about testing with Playground
    127127        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    128         if: ${{ github.actor != 'dependabot[bot]' }}
    129128        with:
    130129          script: |
     
    175174      issues: write
    176175      pull-requests: write
    177     if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name == 'pull_request_target' && ! github.event.pull_request.draft && github.event.pull_request.state == 'open' && github.actor != 'dependabot[bot]' }}
     176    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name == 'pull_request_target' && ! github.event.pull_request.draft && github.event.pull_request.state == 'open' }}
    178177    steps:
    179178      - name: Check for Trac ticket and manage comment
  • trunk/.github/workflows/test-and-zip-default-themes.yml

    r60934 r61050  
    7070      contents: read
    7171    timeout-minutes: 10
    72     if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
     72    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    7373    strategy:
    7474      fail-fast: false
     
    120120      contents: read
    121121    timeout-minutes: 10
    122     if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
     122    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    123123    strategy:
    124124      fail-fast: false
  • trunk/.github/workflows/test-build-processes.yml

    r60765 r61050  
    5454    permissions:
    5555      contents: read
    56     if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
     56    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    5757    strategy:
    5858      fail-fast: false
  • trunk/.github/workflows/upgrade-develop-testing.yml

    r60624 r61050  
    4848    name: Build
    4949    uses: ./.github/workflows/reusable-build-package.yml
    50     if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) ) }}
     50    if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }}
    5151    permissions:
    5252      contents: read
  • trunk/.github/workflows/workflow-lint.yml

    r60082 r61050  
    3434    name: Lint GitHub Action files
    3535    uses: ./.github/workflows/reusable-workflow-lint.yml
    36     if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
     36    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    3737    permissions:
    3838      security-events: write
Note: See TracChangeset for help on using the changeset viewer.