Kinds: rework verify-kinds to reduce GH API calls (#71304)

* Kinds: rework verify-kinds to reduce GH API calls

* Clean up and apply review feedback
This commit is contained in:
Agnès Toulet
2023-07-20 15:26:00 +02:00
committed by GitHub
parent ef82932f48
commit 264cbb402c
3 changed files with 138 additions and 133 deletions
+1 -2
View File
@@ -17,6 +17,7 @@ jobs:
- name: "Checkout Grafana repo"
uses: "actions/checkout@v3"
with:
# required for the `grafana/grafana-github-actions/has-matching-release-tag` action to work
fetch-depth: 0
- name: "Setup Go"
@@ -26,8 +27,6 @@ jobs:
- name: "Verify kinds"
run: go run .github/workflows/scripts/kinds/verify-kinds.go
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: "Checkout Actions library"
uses: "actions/checkout@v3"