File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 22 schedule :
33 - cron : ' 0 0 * * SUN'
44
5+ permissions :
6+ actions : read
7+ contents : read
8+ security-events : write
9+
510jobs :
611 code-scan :
712 uses : smallstep/workflows/.github/workflows/code-scan.yml@main
Original file line number Diff line number Diff line change 66 tags :
77 - ' v*' # Push events to matching v*, i.e. v1.0, v20.15.10
88
9+ permissions :
10+ contents : read
11+
912jobs :
1013 ci :
1114 uses : smallstep/autocert/.github/workflows/ci.yml@master
1417 create_release :
1518 name : Create Release
1619 needs : ci
20+ permissions :
21+ contents : write
1722 runs-on : ubuntu-latest
1823 env :
1924 INIT_DOCKER_IMAGE : smallstep/autocert-init
Original file line number Diff line number Diff line change @@ -33,15 +33,6 @@ rules:
3333 - release.yml:131
3434 - triage.yml:19
3535 - zizmor.yml:15
36- # These workflows either lack a top-level `permissions:` block
37- # (using GitHub defaults) or delegate to reusable workflows that
38- # declare their own minimal permissions internally.
39- excessive-permissions :
40- ignore :
41- - code-scan-cron.yml:6
42- - release.yml:1
43- - release.yml:10
44- - release.yml:14
4536 # The triage workflow uses `pull_request_target` to label PRs
4637 # from forks. This is safe because the called reusable workflow
4738 # does not checkout or execute code from the PR.
You can’t perform that action at this time.
0 commit comments