Make WordPress Core


Ignore:
Timestamp:
01/22/2025 03:13:21 PM (13 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/failed-workflow.yml

    r57197 r59679  
    3939              owner: context.repo.owner,
    4040              repo: context.repo.repo,
    41               run_id: ${{ inputs.run_id }},
     41              run_id: process.env.RUN_ID,
    4242            });
    4343
     
    5050              owner: context.repo.owner,
    5151              repo: context.repo.repo,
    52               run_id: ${{ inputs.run_id }},
     52              run_id: process.env.RUN_ID,
    5353              enable_debug_logging: true
    5454            });
     55        env:
     56          RUN_ID: ${{ inputs.run_id }}
Note: See TracChangeset for help on using the changeset viewer.