Make WordPress Core

Changeset 55717


Ignore:
Timestamp:
05/03/2023 11:20:40 PM (14 months ago)
Author:
johnbillion
Message:

Build/Test Tools: Fix the permissions that are granted to the Slack notifications workflow.

Follow-up to [55715].

See #57865

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

Legend:

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

    r55715 r55717  
    173173    name: Slack Notifications
    174174    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
     175    permissions:
     176      actions: read
     177      contents: read
    175178    needs: [ phpcs, jshint ]
    176179    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
  • trunk/.github/workflows/end-to-end-tests.yml

    r55715 r55717  
    117117    name: Slack Notifications
    118118    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
     119    permissions:
     120      actions: read
     121      contents: read
    119122    needs: [ e2e-tests ]
    120123    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
  • trunk/.github/workflows/javascript-tests.yml

    r55715 r55717  
    9090    name: Slack Notifications
    9191    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
     92    permissions:
     93      actions: read
     94      contents: read
    9295    needs: [ test-js ]
    9396    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
  • trunk/.github/workflows/performance.yml

    r55715 r55717  
    198198    name: Slack Notifications
    199199    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
     200    permissions:
     201      actions: read
     202      contents: read
    200203    needs: [ performance ]
    201204    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
  • trunk/.github/workflows/php-compatibility.yml

    r55715 r55717  
    115115    name: Slack Notifications
    116116    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
     117    permissions:
     118      actions: read
     119      contents: read
    117120    needs: [ php-compatibility ]
    118121    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
  • trunk/.github/workflows/phpunit-tests.yml

    r55715 r55717  
    227227    name: Slack Notifications
    228228    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
     229    permissions:
     230      actions: read
     231      contents: read
    229232    needs: [ test-php ]
    230233    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
  • trunk/.github/workflows/test-and-zip-default-themes.yml

    r55715 r55717  
    148148    name: Slack Notifications
    149149    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
     150    permissions:
     151      actions: read
     152      contents: read
    150153    needs: [ bundle-theme, test-build-scripts ]
    151154    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
  • trunk/.github/workflows/test-coverage.yml

    r55715 r55717  
    176176    name: Slack Notifications
    177177    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
     178    permissions:
     179      actions: read
     180      contents: read
    178181    needs: [ test-coverage-report ]
    179182    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
  • trunk/.github/workflows/test-npm.yml

    r55715 r55717  
    175175    name: Slack Notifications
    176176    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
     177    permissions:
     178      actions: read
     179      contents: read
    177180    needs: [ test-npm, test-npm-macos ]
    178181    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
  • trunk/.github/workflows/test-old-branches.yml

    r55715 r55717  
    9595    name: Slack Notifications
    9696    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
     97    permissions:
     98      actions: read
     99      contents: read
    97100    needs: [ dispatch-workflows-for-old-branches ]
    98101    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
Note: See TracChangeset for help on using the changeset viewer.