Use AddConfigEntryEntitiesCallback (#14) #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Drafter | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
update_release_draft: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: read | |
name: Release Drafter | |
steps: | |
- name: Set up Python 3.13 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.13 | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Find Version | |
id: version | |
run: | | |
version=$(python -c "import json; print(json.load(open('custom_components/meteo_imgw_pib/manifest.json', 'rb'))['version'])") | |
echo Version from manifest.json: $version | |
echo "version=$version" >> $GITHUB_OUTPUT | |
- name: Run Release Drafter | |
uses: release-drafter/release-drafter@v6 | |
with: | |
tag: ${{ steps.version.outputs.version }} | |
name: Version ${{ steps.version.outputs.version }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |