From ea487b2cee0d8e9f2165a71ca1a5ac6c69ce0410 Mon Sep 17 00:00:00 2001 From: Michael Engel Date: Thu, 20 Oct 2022 15:33:14 +0200 Subject: [PATCH] added token to install (#7) * added token to install * removed on push trigger for selftest --- .github/workflows/selftest.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/selftest.yml b/.github/workflows/selftest.yml index 9307baa..cf74560 100644 --- a/.github/workflows/selftest.yml +++ b/.github/workflows/selftest.yml @@ -1,5 +1,4 @@ on: - push: pull_request: name: Self-test jobs: @@ -15,6 +14,8 @@ jobs: uses: actions/checkout@v2 - name: Install gotestfmt uses: ./ + with: + token: ${{ secrets.GH_TOKEN }} - name: Run gotestfmt working-directory: testdata run: go test -json -v ./... 2>&1 | tee /tmp/gotest.log | gotestfmt @@ -37,6 +38,8 @@ jobs: uses: actions/checkout@v2 - name: Install gotestfmt uses: ./ + with: + token: ${{ secrets.GH_TOKEN }} - name: Run gotestfmt working-directory: testdata run: go test -json -v ./... 2>&1 | tee ./gotest.log | gotestfmt