Skip to content

chore: release heavy coder 0.1.3 #2

chore: release heavy coder 0.1.3

chore: release heavy coder 0.1.3 #2

Workflow file for this run

name: Release guard
on:
pull_request:
push:
branches: [main]
jobs:
release-guard:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Validate distribution version discipline
run: |
if [ "${{ github.event_name }}" = "pull_request" ]; then
git fetch origin "${{ github.base_ref }}" --depth=1
python scripts/validate_release_guard.py --base "origin/${{ github.base_ref }}" --head HEAD
else
python scripts/validate_release_guard.py --base "HEAD^" --head HEAD
fi