Files
KlipperScreen/.github/workflows/missing_log.yml
T
Thijs Triemstra 426ffaac98 ci: update dependencies (#1637)
* Update checkout action version in workflow

* Update CodeQL actions to v4

CodeQL Action major versions v1 and v2 have been deprecated. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/

* update deps

* Upgrade github-script action to version 8
2026-01-05 20:32:00 -03:00

25 lines
933 B
YAML

name: "Add missing log comment"
on:
issues:
types: [labeled]
jobs:
comment:
if: contains(github.event.issue.labels.*.name, 'missing-log')
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v8
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `Hello, I'm an automated bot. \n\n
Please attach a log file to this issue as it is required to properly diagnose the problem. \n\n
Logs help verify versions, inspect for errors, prevent duplicate reports, etc. \n\n
If you don't know how to grab the log file please refer to the documentation: \n\n
https://klipperscreen.readthedocs.io/en/latest/Troubleshooting/ \n\n
Thank you!`
})