Commit a7bc14c
authored
feat: prevent versioned 3P GitHub actions in PR builds (#457)
Add validation step to require commit SHAs instead of version tags for
third-party GitHub actions in workflow files. Repo config `Require
actions to be pinned to a full-length commit SHA` will protect against
this if we missed any others.
### Testing done
* See:
aws-observability/aws-otel-python-instrumentation#475
*Rollback procedure:*
Git revert - no risk
*Ensure you've run the following tests on your changes and include the
link below:*
pr workflow sufficient
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.1 parent 5578257 commit a7bc14c
1 file changed
+26
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
9 | 34 | | |
10 | 35 | | |
11 | 36 | | |
| |||
25 | 50 | | |
26 | 51 | | |
27 | 52 | | |
28 | | - | |
| 53 | + | |
29 | 54 | | |
30 | 55 | | |
31 | 56 | | |
| |||
0 commit comments