File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,14 @@ functions:
3939 unzip -u macos-notary.zip
4040 chmod 755 ./linux_amd64/macnotary
4141 " release " :
42+ - command : github.generate_token
43+ params :
44+ expansion_name : generated_token
4245 - command : shell.exec
4346 type : setup
4447 params :
4548 working_dir : src/github.com/mongodb/mongodb-enterprise-kubernetes/tools/multicluster
4649 include_expansions_in_env :
47- - GITHUB_TOKEN
4850 - GRS_USERNAME
4951 - GRS_PASSWORD
5052 - PKCS11_URI
@@ -65,11 +67,12 @@ functions:
6567 set -Eeu pipefail
6668
6769 export PATH=$GOROOT/bin:$PATH
70+ export GITHUB_TOKEN=${generated_token}
6871 ${workdir}/goreleaser release --rm-dist
6972
7073tasks :
7174 - name : package_goreleaser
72- git_tag_only : true
75+ allowed_requesters : [ "patch", "github_tag" ]
7376 tags : ["packaging"]
7477 commands :
7578 - func : " clone"
You can’t perform that action at this time.
0 commit comments