From 998956eeaa1fefae59d0982c44b3f91da0c2fee9 Mon Sep 17 00:00:00 2001 From: labbs Date: Thu, 11 Mar 2021 10:51:58 +0100 Subject: [PATCH 1/2] bump version --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index bd9260d..7714aa4 100644 --- a/main.go +++ b/main.go @@ -19,7 +19,7 @@ import ( "github-actions-exporter/metrics" ) -var version = "v1.5.2" +var version = "v1.6.0" // main init configuration func main() { From a71fab79c64a344638b6ba48e9a5c36abc6f0504 Mon Sep 17 00:00:00 2001 From: labbs Date: Thu, 11 Mar 2021 10:57:23 +0100 Subject: [PATCH 2/2] add information about the github token configuration --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9fe3c9b..7797acf 100644 --- a/README.md +++ b/README.md @@ -110,4 +110,20 @@ Es: # HELP github_workflow_usage Number of billable seconds used by a specific workflow during the current billing cycle. Any job re-runs are also included in the usage. Only apply to workflows in private repositories that use GitHub-hosted runners. # TYPE github_workflow_usage gauge github_workflow_usage_seconds{id="2862037",name="Create Release",node_id="MDg6V29ya2Zsb3cyODYyMDM3",repo="xxx/xxx",state="active",os="UBUNTU"} 706.609 -``` \ No newline at end of file +``` + + +## Github Token configuration + +Scopes needed configuration for the Github token + +``` +repo + - repo:status + - repo_deployment + - public_repo + +admin:org + - write:org + - read:org +```