Repository navigation
Commit 3dd5b35
authored
Harden the release workflow by removing template expansions (WordPress#641)
This replaces the inline `${{ inputs.tag }}` and `${{
steps.resolve.outputs.version }}` template expansion with environment
variables.
Ref:
https://securitylab.github.com/resources/github-actions-untrusted-input/
This was originally reported to the security team by @Sweekar-cmd.
Thanks!
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **Chores**
* Updated the release workflow to pass tag and version values through
environment variables.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 2300409 commit 3dd5b35
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | | - | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| 62 | + | |
| 63 | + | |
61 | 64 | | |
62 | | - | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| |||
0 commit comments