ci: adjust helm chart appVersion before creating release #303
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pre-commit.ci | |
on: [pull_request] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
# We need to fetch tags because of the helm-docs pre-commit hook which requires the latest tag. | |
# We don't use checkout/fetch-tags: true because it's broken | |
# For more information see: https://github.com/actions/checkout/issues/1471 | |
- name: Fetch tags explicitly | |
run: git fetch --prune --unshallow --tags | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
- name: Install go toolchain for pre-commit | |
run: | | |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.60.3 | |
go install mvdan.cc/gofumpt@latest | |
go install github.com/matryer/moq@latest | |
go install github.com/norwoodj/helm-docs/cmd/helm-docs@latest | |
- name: Run pre-commit | |
uses: pre-commit/[email protected] | |
- name: Run pre-commit.ci | |
uses: pre-commit-ci/[email protected] | |
if: always() | |
with: | |
msg: | | |
chore(deps): [pre-commit.ci] auto fixes\n\nFor more information, see https://pre-commit.ci |