Skip to content

fix: add safe.directory config for CI container compatibility #2

fix: add safe.directory config for CI container compatibility

fix: add safe.directory config for CI container compatibility #2

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install package
run: pip install -e .
- name: Verify CLI
run: git-change-detection --help
release:
name: Create GitHub Release
runs-on: ubuntu-latest
needs: test
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Build package
run: |
pip install build
python -m build
- name: Create release
uses: softprops/action-gh-release@v2
with:
files: dist/*
generate_release_notes: true