Skip to content

fix(ci): release workflow for preview releases and pypi publish #12494

fix(ci): release workflow for preview releases and pypi publish

fix(ci): release workflow for preview releases and pypi publish #12494

Workflow file for this run

---
# yamllint disable rule:truthy
name: Release Note
on:
workflow_dispatch:
push:
# branches to consider in the event; optional, defaults to all
branches:
- develop
- stable
# pull_request event is required only for autolabeler
pull_request:
types: [opened, reopened, synchronize]
permissions:
contents: read
jobs:
update_infrahub_release_draft:
permissions:
contents: write
pull-requests: read
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v6
with:
config-name: infrahub-release-drafter.yml
disable-autolabeler: true
name: infrahub-draft
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}