chore(lint): enable golangci-lint: dupword (#3247)
#156
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: Sync charts to charts repo | |
| concurrency: | |
| # Run only for most recent commit in PRs but for all tags and commits on main | |
| # Ref: https://docs.github.com/en/actions/using-jobs/using-concurrency | |
| group: ${{ github.workflow }}-${{ github.head_ref || ( github.ref_type == 'tag' && github.ref_name || github.sha ) }} | |
| cancel-in-progress: true | |
| on: | |
| push: | |
| paths: | |
| - charts/** | |
| - .github/charts-sync.yaml | |
| - .github/workflows/charts-sync.yaml | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: BetaHuhn/repo-file-sync-action@8b92be3375cf1d1b0cd579af488a9255572e4619 # v1.21.1 | |
| with: | |
| GH_PAT: ${{ secrets.PAT_GITHUB }} | |
| GIT_EMAIL: team-k8s+github-bot@konghq.com | |
| CONFIG_PATH: .github/charts-sync.yaml | |
| OVERWRITE_EXISTING_PR: true | |
| PR_BODY: | | |
| ### Sync charts from ${{ github.repository }} | |
| This PR was automatically generated by the `sync-charts` workflow. | |
| It syncs the charts/ directory from the ${{ github.repository }} repository. |