Skip to content

docs: add Code of Conduct, Contributing guide, and Security policy #71

docs: add Code of Conduct, Contributing guide, and Security policy

docs: add Code of Conduct, Contributing guide, and Security policy #71

Workflow file for this run

name: Release
on:
push:
branches: ["main"]
workflow_dispatch:
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: false
permissions:
contents: write
issues: write
pull-requests: write
jobs:
semantic-release:
if: github.actor != 'github-actions[bot]'
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: true
- name: Configure git author
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git fetch --force --tags
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "pip"
- name: Install semantic-release
run: |
python -m pip install --upgrade pip
pip install "python-semantic-release>=10.5.3,<11"
- name: Publish release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
semantic-release version --push
semantic-release publish