Skip to content

Commit 6efb009

Browse files
authored
dev: CI cleanups (#4008)
1 parent 7b861dd commit 6efb009

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,6 @@ jobs:
114114
check_generated:
115115
needs: golangci-lint # run after golangci-lint action to not produce duplicated errors
116116
runs-on: ubuntu-latest
117-
env:
118-
# needed for github-action-config.json generation
119-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
120117
steps:
121118
- uses: actions/checkout@v3
122119
- name: Unshallow
@@ -131,3 +128,6 @@ jobs:
131128
go-version: ${{ env.GO_VERSION }}
132129
- name: Check generated files are up to date
133130
run: make fast_check_generated
131+
env:
132+
# needed for github-action-config.json generation
133+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/tag.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
jobs:
88
release:
99
runs-on: ubuntu-latest
10-
env:
11-
GITHUB_TOKEN: ${{ secrets.GOLANGCI_LINT_TOKEN }}
1210
steps:
1311
- uses: actions/checkout@v3
1412
- name: Install Go
@@ -26,7 +24,7 @@ jobs:
2624
uses: goreleaser/goreleaser-action@v4
2725
with:
2826
version: latest
29-
args: release --rm-dist
27+
args: release --clean
3028
env:
3129
GITHUB_TOKEN: ${{ secrets.GOLANGCI_LINT_TOKEN }}
3230

0 commit comments

Comments
 (0)