gvsn 1.0.2

A fast, cross-platform Go version manager written in Rust
Documentation
name: Clone Watch

# Independent from the build/release pipeline on purpose: only runs on a
# schedule or manual dispatch, never on push/pull_request, so it can't
# block or interfere with normal CI.
on:
  schedule:
    - cron: "17 6 * * *" # daily, 06:17 UTC
  workflow_dispatch: {}

permissions:
  contents: read
  issues: write

jobs:
  scan:
    if: github.repository == 'jhonsferg/gvsn'
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7

      - name: Ensure clone-watch label exists
        env:
          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        run: |
          gh label create clone-watch \
            --color B60205 \
            --description "Possible unauthorized clone/impersonation of this repository" \
            --force

      - name: Scan for unauthorized clones
        env:
          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          OWNER: jhonsferg
          REPO_NAME: gvsn
          AUTHOR_EMAIL: jhon.fernandez.sg@gmail.com
        run: bash .github/scripts/clone-watch.sh