-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the token used to cut new releases
Reference the token automatically generated by GitHub.
- Loading branch information
1 parent
f1b836e
commit 2719091
Showing
1 changed file
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,17 +27,16 @@ jobs: | |
|
||
- name: Build | ||
run: go build ./... | ||
|
||
- name: Setup SSH | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.RELENG_CI_BOT_KEY }} | ||
|
||
- name: Unit Test | ||
env: | ||
RELEEN_GITHUB_TOKEN: ${{ secrets.RELEEN_GITHUB_TOKEN }} | ||
GITHUB_ACCESS_TOKEN: ${{ secrets.RELEEN_GITHUB_TOKEN }} | ||
run: | | ||
export GITHUB_ACCESS_TOKEN="${RELEEN_GITHUB_TOKEN}" | ||
go test --covermode=atomic --coverprofile=kiln-${{github.sha}}-unit-test-code-coverage.out ./... | ||
- name: Archive Unit Test Code Coverage Output | ||
|
@@ -49,14 +48,13 @@ jobs: | |
- name: Acceptance Tests | ||
env: | ||
CGO_ENABLED: '0' | ||
RELEEN_GITHUB_TOKEN: ${{ secrets.RELEEN_GITHUB_TOKEN }} | ||
GITHUB_ACCESS_TOKEN: ${{ secrets.RELEEN_GITHUB_TOKEN }} | ||
run: | | ||
set -euo pipefail | ||
export GITHUB_ACCESS_TOKEN="${RELEEN_GITHUB_TOKEN}" | ||
set -x | ||
go test -v --timeout 24h --tags acceptance github.com/pivotal-cf/kiln/internal/acceptance/workflows | ||
git reset --hard HEAD | ||
- name: Login to Docker Hub | ||
|
@@ -79,5 +77,5 @@ jobs: | |
version: "~> v1" | ||
args: release --clean | ||
env: | ||
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }} | ||
GITHUB_ACCESS_TOKEN: ${{ github.token }} | ||
|