File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22#
33# devctl
44#
5- # https://github.com/giantswarm/devctl/blob/1acd23e6a78c21ca61ccbe8a7e5a8a3139feeab5 /pkg/gen/input/workflows/internal/file/create_release.yaml.template
5+ # https://github.com/giantswarm/devctl/blob/72df19d0bff1cc8a679b00fdb4ac4e2504f8962a /pkg/gen/input/workflows/internal/file/create_release.yaml.template
66#
77name : Create Release
88on :
@@ -111,6 +111,8 @@ jobs:
111111 smoke_test : " ${binary} --version"
112112 - name : Checkout code
113113 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
114+ with :
115+ persist-credentials : false
114116 - name : Update project.go
115117 id : update_project_go
116118 env :
@@ -175,6 +177,7 @@ jobs:
175177 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
176178 with :
177179 ref : ${{ github.sha }}
180+ persist-credentials : false
178181 - name : Ensure correct version in project.go
179182 if : ${{ needs.gather_facts.outputs.project_go_path != '' && needs.gather_facts.outputs.ref_version != 'true' }}
180183 run : |
@@ -203,11 +206,10 @@ jobs:
203206 - name : Create release
204207 id : create_gh_release
205208 uses : ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20.0
206- env :
207- GITHUB_TOKEN : " ${{ secrets.TAYLORBOT_GITHUB_ACTION }}"
208209 with :
209210 body : ${{ steps.changelog_reader.outputs.changes }}
210211 tag : " v${{ needs.gather_facts.outputs.version }}"
212+ token : ${{ secrets.TAYLORBOT_GITHUB_ACTION }}
211213 skipIfReleaseExists : true
212214
213215 create-release-branch :
Original file line number Diff line number Diff line change 22#
33# devctl
44#
5- # https://github.com/giantswarm/devctl/blob/87f30fd3b955a0daf6017834a776c222d93a207c /pkg/gen/input/workflows/internal/file/run_ossf_scorecard.yaml.template
5+ # https://github.com/giantswarm/devctl/blob/4897b6ea0f98cfba54f8d3003f5bdcefb968a7b5 /pkg/gen/input/workflows/internal/file/run_ossf_scorecard.yaml.template
66#
77
88# This workflow uses actions that are not certified by GitHub. They are provided
3131 uses : giantswarm/github-workflows/.github/workflows/ossf-scorecard.yaml@main
3232 permissions :
3333 contents : read
34+ actions : read
35+ issues : read
36+ pull-requests : read
37+ checks : read
3438 security-events : write
3539 id-token : write
3640 secrets :
You can’t perform that action at this time.
0 commit comments