Skip to content

Commit fc1eac8

Browse files
authored
Use default github token to publish the release (#737)
Signed-off-by: Pavol Loffay <[email protected]>
1 parent 5962b37 commit fc1eac8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.ci/create-release-github.sh

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/bash
22

33
OPERATOR_VERSION=$(git describe --tags)
4-
echo "${GH_WRITE_TOKEN}" | gh auth login --with-token
54

65
gh config set prompt disabled
76
gh release create \

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: "create the release in GitHub"
2828
env:
29-
GH_WRITE_TOKEN: ${{ secrets.GH_WRITE_TOKEN }}
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3030
run: ./.ci/create-release-github.sh
3131

3232
- name: "refresh go proxy module info on release"

0 commit comments

Comments
 (0)