Skip to content

Commit 2c7d1ba

Browse files
feat: fix semantic-release CI (#5)
1 parent 277b956 commit 2c7d1ba

4 files changed

Lines changed: 22 additions & 6 deletions

File tree

.github/workflows/PerformancePush.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
name: Performance for Push
2-
# Temporarily disable automatic triggering, waiting for branch creation.
3-
# on:
4-
# push:
5-
# branches: [ master ]
62
on:
7-
workflow_dispatch:
3+
push:
4+
branches: [ master ]
85

96
permissions:
107
# deployments permission to deploy GitHub pages website

.github/workflows/golangci-lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: golangci-lint
22

33
on:
44
push:
5+
branches:
6+
- master
7+
- main
58
pull_request:
69

710
jobs:

.releaserc.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"debug": true,
3+
"branches": [
4+
"+([0-9])?(.{+([0-9]),x}).x",
5+
"master",
6+
{
7+
"name": "beta",
8+
"prerelease": true
9+
}
10+
],
11+
"plugins": [
12+
"@semantic-release/commit-analyzer",
13+
"@semantic-release/release-notes-generator",
14+
"@semantic-release/github"
15+
]
16+
}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ lint:
1313
golangci-lint run --verbose
1414

1515
release:
16-
npx semantic-release@v19.0.2
16+
npx semantic-release@v19.0.2

0 commit comments

Comments
 (0)