Commit 4c7c547
authored
Harden CI workflows (#40)
* 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>
* Use node-version: '22' in setup-node steps
Signed-off-by: Tamal Saha <tamal@appscode.com>
* Normalize Prepare git user, fetch-depth, drop permission-issues
Signed-off-by: Tamal Saha <tamal@appscode.com>
* Add 1gtm-app[bot] to kodiak auto_approve_usernames
Signed-off-by: Tamal Saha <tamal@appscode.com>
* Normalize kodiak auto_approve_usernames
Signed-off-by: Tamal Saha <tamal@appscode.com>
* Bump softprops/action-gh-release to v2.6.2; add permissions
Signed-off-by: Tamal Saha <tamal@appscode.com>
---------
Signed-off-by: Tamal Saha <tamal@appscode.com>1 parent ca69da7 commit 4c7c547
3 files changed
Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | | - | |
| 24 | + | |
21 | 25 | | |
22 | | - | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
0 commit comments