diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 65c7898b..1b45ecca 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -1,11 +1,6 @@ name: Continuous Integration on: - push: - branches: - - main - tags: - - 'v[0-9]+.[0-9]+.[0-9]+' pull_request: branches: - main @@ -14,6 +9,10 @@ on: - reopened - synchronize +permissions: + contents: read + pull-requests: read + jobs: checks: name: Linting @@ -27,8 +26,6 @@ jobs: go-version-file: go.mod - name: Lint Code uses: golangci/golangci-lint-action@v3 - with: - only-new-issues: true unit-tests: name: Unit Tests