Make WordPress Core


Ignore:
Timestamp:
01/22/2025 03:13:21 PM (10 months ago)
Author:
johnbillion
Message:

Build/Test Tools: Improve the security and correctness of the GitHub Actions workflows files.

This includes removing use of dangerous inline GitHub Actions expressions, preventing word splitting, further tightening permissions, and generally improving many aspects of the workflows.

This also introduces a new workflow that runs Actionlint to detect incorrect and insecure code and configuration in workflow files.

Props johnbillion, swissspidy, flixos90, desrosj.

See #62221

File:
1 edited

Legend:

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

    r59354 r59679  
    99env:
    1010  PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
     11
     12# Disable permissions for all available scopes by default.
     13# Any needed permissions should be configured at the job level.
     14permissions: {}
    1115
    1216jobs:
     
    3438        with:
    3539          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
     40          persist-credentials: false
    3641
    3742      - name: Set up Node.js
Note: See TracChangeset for help on using the changeset viewer.