Skip to content

Add action to check labels on PRs (#102) #45

Add action to check labels on PRs (#102)

Add action to check labels on PRs (#102) #45

name: Release Drafter
on:
push:
branches:
- main
jobs:
release-drafter:
name: Release Drafter
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/[email protected]
- name: Get next version
id: version
run: |
echo "version=$(jq .version -r ./custom_components/healthchecksio/manifest.json)" >> $GITHUB_OUTPUT
- name: Run Release Drafter
uses: release-drafter/[email protected]
with:
tag: ${{ steps.version.outputs.version }}
name: ${{ steps.version.outputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}