Commit 07a6bf0
committed
Harden GitHub Actions workflows
- Pin every action ref to a full-length commit SHA with a trailing
version comment, so floating tags like @v4 can't be re-pointed at
malicious code.
- Bump outdated actions/checkout@v1 to @v4.3.1 (where present).
- Tag-triggered workflows now check out with fetch-depth: 1 and
fetch-tags: true so the tag ref is available downstream.
- release-tracker.yml grants contents: write at the job level so the
default GITHUB_TOKEN can push commits/tags back to the repo.
Signed-off-by: Tamal Saha <tamal@appscode.com>1 parent 8465a79 commit 07a6bf0
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments