Skip to content

feat(hooks): CI annotations and SARIF upload for scanner findings #1787

feat(hooks): CI annotations and SARIF upload for scanner findings

feat(hooks): CI annotations and SARIF upload for scanner findings #1787

name: Go Version Change Detection
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- 'go.mod'
permissions:
pull-requests: write
contents: read
jobs:
check-go-version:
name: Check for Go version changes
runs-on: ubuntu-latest
steps:
- name: Checkout PR branch
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
fetch-depth: 0
- name: Check Go version and comment
uses: ./.github/actions/go-version-check
with:
base-ref: ${{ github.base_ref }}
token: ${{ secrets.GITHUB_TOKEN }}