diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 41b8650..311b25c 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -1,19 +1,23 @@ name: Lints + on: push: tags: - v* branches: - main - - master - - release-* - - autobump/* + - 'release-**' pull_request: + types: + - opened + - edited + - reopened env: FORCE_COLOR: true jobs: + golangci: name: Golangci runs-on: ubuntu-latest @@ -27,6 +31,7 @@ jobs: with: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. version: v1.57.2 + editorconfig: name: EditorConfig runs-on: ubuntu-latest diff --git a/.github/workflows/mage.yaml b/.github/workflows/mage.yaml index f0b070b..9a294a0 100644 --- a/.github/workflows/mage.yaml +++ b/.github/workflows/mage.yaml @@ -6,10 +6,12 @@ on: - v* branches: - main - - master - - release-* - - autobump/* + - 'release-**' pull_request: + types: + - opened + - edited + - reopened env: FORCE_COLOR: true