Skip to content

Commit

Permalink
fix up github python scripts (#1212)
Browse files Browse the repository at this point in the history
* fix up github python scripts

* using .csv for ignore
  • Loading branch information
bwagner5 authored Jan 24, 2022
1 parent 8b8e61f commit 0745ebf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ toolchain: ## Install developer toolchain
./hack/toolchain.sh

issues: ## Run GitHub issue analysis scripts
./hack/feature_request_reactions.py > "karpenter-feature-requests-$(date +"%Y-%m-%d").csv"
./hack/label_issue_count.py > "karpenter-labels-$(date +"%Y-%m-%d").csv"
pip install -r ./hack/github/requirements.txt
@echo "Set GH_TOKEN env variable to avoid being rate limited by Github"
./hack/github/feature_request_reactions.py > "karpenter-feature-requests-$(shell date +"%Y-%m-%d").csv"
./hack/github/label_issue_count.py > "karpenter-labels-$(shell date +"%Y-%m-%d").csv"

.PHONY: help dev ci release test battletest verify codegen apply delete publish helm website toolchain licenses
.PHONY: help dev ci release test battletest verify codegen apply delete publish helm website toolchain licenses issues
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import csv
import os
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import csv
import os
Expand Down
1 change: 1 addition & 0 deletions hack/github/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PyGithub==1.55

0 comments on commit 0745ebf

Please sign in to comment.