From 49dd5262218d6c77630f9c6a703ec36bb44cbbde Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Tue, 26 Oct 2021 14:40:01 +0300 Subject: [PATCH] Set GH token for goreleaser Signed-off-by: Stefan Prodan --- .github/workflows/goreleaser.yaml | 5 +++-- Makefile | 6 ------ README.md | 11 ----------- 3 files changed, 3 insertions(+), 19 deletions(-) diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml index 4b751895..976f5f6a 100644 --- a/.github/workflows/goreleaser.yaml +++ b/.github/workflows/goreleaser.yaml @@ -17,7 +17,6 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.16 - # Similar as to https://github.com/fluxcd/toolkit/blob/master/.github/workflows/release.yaml#L20-L27 - name: Download release notes utility env: 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: run: | echo 'CHANGELOG' > /tmp/release.txt github-release-notes -org fluxcd -repo go-git-providers -since-latest-release >> /tmp/release.txt + env: + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: version: latest args: release --release-notes=/tmp/release.txt --rm-dist env: - GITHUB_TOKEN: ${{ secrets.GITPROVIDER_BOT_TOKEN }} + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} diff --git a/Makefile b/Makefile index 7a9210cf..04d2f14c 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,6 @@ -VER?=0.0.1 TEST_VERBOSE?= TEST_PATTERN?=./... TEST_STOP_ON_ERROR?= -PKG_CONFIG_PATH?=${PKG_CONFIG_PATH} all: test @@ -17,7 +15,3 @@ vet: test: tidy fmt vet go test ${TEST_VERBOSE} ${TEST_STOP_ON_ERROR} -race -coverprofile=coverage.txt -covermode=atomic ${TEST_PATTERN} - -release: - git checkout main - git pull \ No newline at end of file diff --git a/README.md b/README.md index 3ba76b8d..05102d94 100644 --- a/README.md +++ b/README.md @@ -183,17 +183,6 @@ If you need to run `make test` for your fork/branch you may need to supply the f - TEST_VERBOSE: Set to '-v' to emit test output for debugging purposes - CLEANUP_ALL: Set to delete all test repos after testing. -## Maintainers - -In alphabetical order: - -- Mike Beaumont, [@michaelbeaumont](https://github.com/michaelbeaumont) -- Sara El-Zayat, [@sarataha](https://github.com/sarataha) -- Simon Howe, [@foot](https://github.com/foot) -- Dinos Kousidis, [@dinosk](https://github.com/dinosk) -- Stefan Prodan, [@stefanprodan](https://github.com/stefanprodan) -- Yiannis Triantafyllopoulos, [@yiannistri](https://github.com/yiannistri) - ## Getting Help If you have any questions about this library: