Skip to content

Commit f2fca0f

Browse files
committed
test workflow
Signed-off-by: Todd Short <[email protected]>
1 parent d873ec1 commit f2fca0f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/go-verdiff.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,10 @@ jobs:
1111
with:
1212
fetch-depth: 0
1313
- name: Check golang version
14-
run: hack/tools/check-go-version.sh "${{ github.event.pull_request.base.sha }}"
14+
run: |
15+
export LABELS="$(gh api repos/$OWNER/$REPO_NAME/pulls/$PULL_REQUST_NUMBER --jq '.labels.[].name')"
16+
echo "$LABELS"
17+
hack/tools/check-go-version.sh "${{ github.event.pull_request.base.sha }}"
18+
shell: bash
19+
env:
20+
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)