diff --git a/.github/auto_assign.yaml b/.github/auto_assign.yaml new file mode 100644 index 0000000..f37263e --- /dev/null +++ b/.github/auto_assign.yaml @@ -0,0 +1,49 @@ +# Set to true to add reviewers to pull requests +addReviewers: true + +# Set to true to add assignees to pull requests +addAssignees: false + +# A number of reviewers added to the pull request +# Set 0 to add all the reviewers (default: 0) +numberOfReviewers: 1 + +# A number of assignees to add to the pull request +# Set to 0 to add all of the assignees. +# Uses numberOfReviewers if unset. +# numberOfAssignees: 2 + +# Set to true to add reviewers from different groups to pull requests +useReviewGroups: true + +# A list of reviewers, split into different groups, to be added to pull requests (GitHub user name) +reviewGroups: + groupA: + - nikovacevic + - Sean-Holcomb + - mbolt35 + - ameijer + groupB: + - nik-kc + - kaelanspatel + - biancaburtoiu + - avrodrigues5 + - nickcurie + +# Set to true to add assignees from different groups to pull requests +useAssigneeGroups: false + +# A list of assignees, split into different froups, to be added to pull requests (GitHub user name) +# assigneeGroups: +# groupA: +# - assigneeA +# - assigneeB +# - assigneeC +# groupB: +# - assigneeD +# - assigneeE +# - assigneeF + +# A list of keywords to be skipped the process that add reviewers if pull requests include it +# skipKeywords: +# - wip \ No newline at end of file diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000..121d565 --- /dev/null +++ b/.github/dependabot.yaml @@ -0,0 +1,15 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "gomod" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "weekly" + - package-ecosystem: github-actions + directory: / + schedule: + interval: "weekly" \ No newline at end of file diff --git a/.github/workflows/auto_label_issues.yml b/.github/workflows/auto_label_issues.yaml similarity index 100% rename from .github/workflows/auto_label_issues.yml rename to .github/workflows/auto_label_issues.yaml diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 4531dac..53b89e3 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -10,28 +10,28 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v4 with: - go-version: ^1.16 + go-version: ^1.22 - name: Install govvv run: | - go install github.com/ahmetb/govvv@master + go install github.com/ahmetb/govvv@latest - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Make release run: | make release - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: 'cmd/kubectl-cost/kubectl-cost-*' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Update version in Krew index - uses: rajatjindal/krew-release-bot@v0.0.38 + uses: rajatjindal/krew-release-bot@v0.0.46 # see https://github.com/rajatjindal/krew-release-bot # and /.krew.yaml diff --git a/.gitignore b/.gitignore index 0bf6fb7..63c917c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ cmd/kubectl-cost/kubectl-cost* +kubectl-cost \ No newline at end of file