fix(backups): reloads repo-host when secrets are updated #72
This file contains hidden or 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: reviewdog | |
| on: [pull_request] | |
| jobs: | |
| golangci-lint: | |
| name: runner / suggester / golangci-lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '^1.23' | |
| - uses: actions/checkout@v4 | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v6 | |
| with: | |
| version: latest | |
| only-new-issues: true | |
| args: --timeout 5m | |
| gofmt: | |
| name: runner / suggester / gofmt | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: gofmt -w -s $(find . -not -path "*/vendor/*" -name "*.go") | |
| - uses: reviewdog/action-suggester@v1 | |
| with: | |
| tool_name: gofmt | |
| shfmt: | |
| name: runner / suggester / shfmt | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '^1.23' | |
| - run: go install mvdan.cc/sh/v3/cmd/shfmt@latest | |
| - run: $(go env GOPATH)/bin/shfmt -bn -ci -s -w . | |
| - name: suggester / shfmt | |
| uses: reviewdog/action-suggester@v1 | |
| with: | |
| tool_name: shfmt | |
| shellcheck: | |
| if: github.event_name == 'pull_request' | |
| name: runner / shellcheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: reviewdog/action-shellcheck@v1 | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| reporter: github-pr-check | |
| misspell: | |
| name: runner / misspell | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: reviewdog/action-misspell@v1 | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| locale: "US" | |
| ignore: "labelled" | |
| reporter: github-pr-check | |
| alex: | |
| name: runner / alex | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: reviewdog/action-alex@v1 | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| reporter: github-pr-check | |
| level: info | |
| manifests: | |
| name: runner / manifests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: | | |
| make generate VERSION=main | |
| git diff --exit-code |