diff --git a/.github/workflows/PerformancePush.yml b/.github/workflows/PerformancePush.yml index 5391a74..99cfb3c 100644 --- a/.github/workflows/PerformancePush.yml +++ b/.github/workflows/PerformancePush.yml @@ -1,10 +1,7 @@ name: Performance for Push -# Temporarily disable automatic triggering, waiting for branch creation. -# on: -# push: -# branches: [ master ] on: - workflow_dispatch: + push: + branches: [ master ] permissions: # deployments permission to deploy GitHub pages website diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index d6ae7fc..7791256 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -2,6 +2,9 @@ name: golangci-lint on: push: + branches: + - master + - main pull_request: jobs: diff --git a/.releaserc.json b/.releaserc.json new file mode 100644 index 0000000..7921c59 --- /dev/null +++ b/.releaserc.json @@ -0,0 +1,16 @@ +{ + "debug": true, + "branches": [ + "+([0-9])?(.{+([0-9]),x}).x", + "master", + { + "name": "beta", + "prerelease": true + } + ], + "plugins": [ + "@semantic-release/commit-analyzer", + "@semantic-release/release-notes-generator", + "@semantic-release/github" + ] +} \ No newline at end of file diff --git a/Makefile b/Makefile index 64546af..62081a4 100644 --- a/Makefile +++ b/Makefile @@ -13,4 +13,4 @@ lint: golangci-lint run --verbose release: - npx semantic-release@v19.0.2 + npx semantic-release@v19.0.2 \ No newline at end of file