Skip to content

fix(workflow): update semantic release #43

fix(workflow): update semantic release

fix(workflow): update semantic release #43

name: Semantic Release
on:
pull_request:
types:
- labeled
branches:
- 'main'
jobs:
release:
if: ${{ github.event.label.name == 'semantic versioning' }}
runs-on: ubuntu-latest
concurrency: release
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

Check failure on line 22 in .github/workflows/semantic-release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/semantic-release.yaml

Invalid workflow file

You have an error in your yaml syntax on line 22
- name: Python Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
semantic-release publish \
--github_token $GITHUB_TOKEN \
--pypi_token $PYPI_TOKEN