⛑️ Version 12: Problems communicating with the controller ⛑️ #1753
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: 'Z-Wave Bot: Issue created/edited' | |
on: | |
issues: | |
types: [opened, edited] | |
jobs: | |
# Notify issue author when they post the wrong log | |
ensure-logfile: | |
runs-on: [ubuntu-latest] | |
steps: | |
- name: Checkout master branch | |
uses: actions/checkout@v3 | |
- uses: actions/github-script@v6 | |
with: | |
github-token: ${{secrets.BOT_TOKEN}} | |
script: | | |
const bot = require(`${process.env.GITHUB_WORKSPACE}/.github/bot-scripts/index.js`); | |
return bot.ensureLogfile({github, context}); |