Skip to content

🌱 test workflow

🌱 test workflow #22

Workflow file for this run

name: go-verdiff
on:
pull_request:
branches:
- main
jobs:
go-verdiff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check golang version
run: |
export LABELS="$(gh api repos/$OWNER/$REPO_NAME/pulls/$PULL_REQUST_NUMBER --jq '.labels.[].name')"
echo "$LABELS"
hack/tools/check-go-version.sh "${{ github.event.pull_request.base.sha }}"
shell: bash
env:
GH_TOKEN: ${{ github.token }}