Skip to content

feature: add a universal-blu-to-mqtt script example #14

feature: add a universal-blu-to-mqtt script example

feature: add a universal-blu-to-mqtt script example #14

on:
pull_request_target:
types:
- closed
paths:
- 'examples-manifest.json'
jobs:
if_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup
uses: actions/setup-python@v4
with:
python-version: 3
- name: execute script
run: |
python ./tools/json-to-md.py ./examples-manifest.json
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "Update legacy manifest (${{ github.event.pull_request.title }})"
git push