Skip to content

Commit ecbdf14

Browse files
authored
Merge pull request #118 from fluxcd/fix-release
Set GH token for goreleaser
2 parents 5539357 + 49dd526 commit ecbdf14

File tree

3 files changed

+3
-19
lines changed

3 files changed

+3
-19
lines changed

.github/workflows/goreleaser.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
uses: actions/setup-go@v2
1818
with:
1919
go-version: 1.16
20-
# Similar as to https://github.com/fluxcd/toolkit/blob/master/.github/workflows/release.yaml#L20-L27
2120
- name: Download release notes utility
2221
env:
2322
GH_REL_URL: https://github.com/buchanae/github-release-notes/releases/download/0.2.0/github-release-notes-linux-amd64-0.2.0.tar.gz
@@ -26,10 +25,12 @@ jobs:
2625
run: |
2726
echo 'CHANGELOG' > /tmp/release.txt
2827
github-release-notes -org fluxcd -repo go-git-providers -since-latest-release >> /tmp/release.txt
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
2930
- name: Run GoReleaser
3031
uses: goreleaser/goreleaser-action@v2
3132
with:
3233
version: latest
3334
args: release --release-notes=/tmp/release.txt --rm-dist
3435
env:
35-
GITHUB_TOKEN: ${{ secrets.GITPROVIDER_BOT_TOKEN }}
36+
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}

Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
VER?=0.0.1
21
TEST_VERBOSE?=
32
TEST_PATTERN?=./...
43
TEST_STOP_ON_ERROR?=
5-
PKG_CONFIG_PATH?=${PKG_CONFIG_PATH}
64

75
all: test
86

@@ -17,7 +15,3 @@ vet:
1715

1816
test: tidy fmt vet
1917
go test ${TEST_VERBOSE} ${TEST_STOP_ON_ERROR} -race -coverprofile=coverage.txt -covermode=atomic ${TEST_PATTERN}
20-
21-
release:
22-
git checkout main
23-
git pull

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -183,17 +183,6 @@ If you need to run `make test` for your fork/branch you may need to supply the f
183183
- TEST_VERBOSE: Set to '-v' to emit test output for debugging purposes
184184
- CLEANUP_ALL: Set to delete all test repos after testing.
185185

186-
## Maintainers
187-
188-
In alphabetical order:
189-
190-
- Mike Beaumont, [@michaelbeaumont](https://github.com/michaelbeaumont)
191-
- Sara El-Zayat, [@sarataha](https://github.com/sarataha)
192-
- Simon Howe, [@foot](https://github.com/foot)
193-
- Dinos Kousidis, [@dinosk](https://github.com/dinosk)
194-
- Stefan Prodan, [@stefanprodan](https://github.com/stefanprodan)
195-
- Yiannis Triantafyllopoulos, [@yiannistri](https://github.com/yiannistri)
196-
197186
## Getting Help
198187

199188
If you have any questions about this library:

0 commit comments

Comments
 (0)