Skip to content

Merge branch 'main' of https://github.com/Mips2648/jeedom-daemon-py #56

Merge branch 'main' of https://github.com/Mips2648/jeedom-daemon-py

Merge branch 'main' of https://github.com/Mips2648/jeedom-daemon-py #56

name: semantic-release
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
pytest_39:
if: contains(github.event.head_commit.message, ':')
uses: ./.github/workflows/pytest-3.9.yml
pytest_311:
if: contains(github.event.head_commit.message, ':')
uses: ./.github/workflows/pytest-3.11.yml
release-on-success:
needs: [pytest_39, pytest_311]
if: ${{ github.repository == 'Mips2648/jeedom-daemon-py'}}
runs-on: ubuntu-latest
concurrency: release
permissions:
# id-token: write
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- id: semantic-release
name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
outputs:
released: ${{ steps.semantic-release.outputs.released }}