Skip to content

ci(github): stabilize shared publish workflows #662

ci(github): stabilize shared publish workflows

ci(github): stabilize shared publish workflows #662

name: Release Drafter
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
permissions:
contents: write
pull-requests: write
concurrency:
group: release-drafter-${{ github.ref }}
cancel-in-progress: true
jobs:
release-drafter-push:
if: github.event_name == 'push'
uses: LayeredCraft/devops-templates/.github/workflows/release-drafter.yml@v10.1
with:
event_name: ${{ github.event_name }}
pr_draft: false
release-drafter-pr:
if: github.event_name == 'pull_request'
uses: LayeredCraft/devops-templates/.github/workflows/release-drafter.yml@v10.1
with:
event_name: ${{ github.event_name }}
pr_draft: ${{ github.event.pull_request.draft }}