coverage.yml add GOPRIVATE
This commit is contained in:
parent
0dd992b7a6
commit
d0ac577686
12
.github/workflows/coverage.yml
vendored
12
.github/workflows/coverage.yml
vendored
@ -15,19 +15,9 @@ jobs:
|
|||||||
- name: git config
|
- name: git config
|
||||||
run: |
|
run: |
|
||||||
git config --global http.extraheader "PRIVATE-TOKEN: ${{ secrets.GITHUB_TOKEN }}"
|
git config --global http.extraheader "PRIVATE-TOKEN: ${{ secrets.GITHUB_TOKEN }}"
|
||||||
- name: Create issue using REST API
|
|
||||||
run: |
|
|
||||||
curl --request POST \
|
|
||||||
--url https://api.github.com/repos/${{ github.repository }}/issues \
|
|
||||||
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
|
|
||||||
--header 'content-type: application/json' \
|
|
||||||
--data '{
|
|
||||||
"title": "Automated issue for commit: ${{ github.sha }}",
|
|
||||||
"body": "This issue was automatically created by the GitHub Action workflow **${{ github.workflow }}**. \n\n The commit hash was: _${{ github.sha }}_."
|
|
||||||
}' \
|
|
||||||
--fail
|
|
||||||
- name: Vet
|
- name: Vet
|
||||||
run: |
|
run: |
|
||||||
|
go env -w GOPRIVATE=github.com/anytypeio/*
|
||||||
make vet
|
make vet
|
||||||
- name: Unit tests
|
- name: Unit tests
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user