Skip to content

fix: JSONDecodeError for status code 429. (#9) #37

fix: JSONDecodeError for status code 429. (#9)

fix: JSONDecodeError for status code 429. (#9) #37

Workflow file for this run

name: Semantic Release
on:
push:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
concurrency: release
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
cache: 'poetry'
- name: Install dependencies
run: poetry install
- run: poetry run flake8 .
- run: poetry run pytest
release:
needs: tests
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, 'chore(release):')
runs-on: ubuntu-latest
concurrency: release
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Python Semantic Release
uses: relekang/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}