Skip to content

Commit

Permalink
update and fix release script (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffcolvin authored Sep 26, 2024
1 parent 1f45d30 commit 33d395b
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 6 deletions.
49 changes: 49 additions & 0 deletions .github/auto_assign.yaml
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
15 changes: 15 additions & 0 deletions .github/dependabot.yaml
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.
12 changes: 6 additions & 6 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
cmd/kubectl-cost/kubectl-cost*
kubectl-cost

0 comments on commit 33d395b

Please sign in to comment.