Skip to content

Commit 3757c70

Browse files
committed
feat: improve github actions permissions for OpenSSF
1 parent f81204e commit 3757c70

File tree

3 files changed

+7
-42
lines changed

3 files changed

+7
-42
lines changed

.github/workflows/go-builder.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/release-builder.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Build and upload release artifact
22

3+
permissions:
4+
contents: read
5+
36
on:
47
release:
58
types: [created]
@@ -9,6 +12,9 @@ env:
912

1013
jobs:
1114
build:
15+
permissions:
16+
contents: write
17+
1218
runs-on: ubuntu-latest
1319

1420
steps:

.github/workflows/scorecards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: OpenSSF Scorecards
22
on:
33
branch_protection_rule: # yamllint disable-line rule:empty-values
44
schedule:
5-
- cron: "28 14 * * 2" # Run every Tuesday at 14:28 UTC
5+
- cron: "28 14 * * *" # Run daily at 14:28 UTC
66
push:
77
branches:
88
- main

0 commit comments

Comments
 (0)