Skip to content

Migrate to typescript-eslint package #1900

Migrate to typescript-eslint package

Migrate to typescript-eslint package #1900

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@v4
- 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});