Skip to content

Valetudo MQTT disconnecting every 2 minutes #18

Valetudo MQTT disconnecting every 2 minutes

Valetudo MQTT disconnecting every 2 minutes #18

Workflow file for this run

name: Request cleanup
on:
issues:
types:
- labeled
jobs:
delete:
if: github.event.label.name == 'request'
runs-on: ubuntu-latest
steps:
- name: Log title
env:
TITLE: ${{ toJson(github.event.issue.title) }}
run: |
echo "$TITLE"
- name: Request cleanup
run: gh issue delete "$NUMBER" --yes
env:
GH_TOKEN: ${{ secrets.SANITY_PAT }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
- name: Ban user
run: gh api --method PUT /user/blocks/$USERNAME
env:
GH_TOKEN: ${{ secrets.SANITY_PAT }}
GH_REPO: ${{ github.repository }}
USERNAME: ${{ github.event.issue.user.login }}