added token to install (#7)

* added token to install
* removed on push trigger for selftest
This commit is contained in:
Michael Engel 2022-10-20 15:33:14 +02:00
parent bddb983f7c
commit 59eb7e3506

View file

@ -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