Skip to content

Commit be725a0

Browse files
committed
Use "default" env in cicd
1 parent e4913ca commit be725a0

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
tags:
8-
- 'v*'
8+
- "v*"
99
pull_request:
1010
branches:
1111
- main
@@ -40,7 +40,7 @@ jobs:
4040
- name: Set up Go
4141
uses: actions/setup-go@v5
4242
with:
43-
go-version: '1.24'
43+
go-version: "1.24"
4444

4545
- name: golangci-lint
4646
uses: golangci/golangci-lint-action@v6
@@ -160,6 +160,7 @@ jobs:
160160
runs-on: ubuntu-latest
161161
needs: [format, lint, test]
162162
if: startsWith(github.ref, 'refs/tags/v')
163+
environment: default
163164
steps:
164165
- name: Checkout
165166
uses: actions/checkout@v4
@@ -215,6 +216,7 @@ jobs:
215216
runs-on: ubuntu-latest
216217
needs: [format, lint, test]
217218
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/')
219+
environment: default
218220
steps:
219221
- name: Checkout
220222
uses: actions/checkout@v4
@@ -304,4 +306,4 @@ jobs:
304306
prerelease: false
305307
generate_release_notes: true
306308
env:
307-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
309+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)