-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update and fix release script (#179)
- Loading branch information
1 parent
1f45d30
commit 33d395b
Showing
5 changed files
with
71 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected].38 | ||
uses: rajatjindal/[email protected].46 | ||
# see https://github.com/rajatjindal/krew-release-bot | ||
# and /.krew.yaml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
cmd/kubectl-cost/kubectl-cost* | ||
kubectl-cost |