Skip to content

Please consider fixing issues detected by repository checker #24

Please consider fixing issues detected by repository checker

Please consider fixing issues detected by repository checker #24

Workflow file for this run

# v0.3
name: New issue
on:
issues:
types: [opened]
jobs:
issueCreated:
runs-on: ubuntu-latest
if: ${{ !github.event.issue.pull_request && !startsWith(github.event.issue.title, 'Update stable version in repo') }}
permissions:
issues: write
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
- name: Get package name
id: get_package_name
uses: ASzc/change-string-case-action@v6
with:
string: ${{ github.event.repository.name }}
- name: Get NPM version
id: get_npm_version
run: echo "LATEST_VERSION=$(npm view ${{ steps.get_package_name.outputs.lowercase }}@latest version)" >> "$GITHUB_OUTPUT"
- name: Create comment
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.issue.number }}
body: |
Thanks for reporting a new issue @${{ github.actor }}!
1. Please make sure your topic is not covered in the [documentation](https://github.com/${{ github.event.repository.full_name }}/blob/main/docs/README.md)
2. Ensure that you use the latest **beta version** (not the current stable version): **${{ steps.get_npm_version.outputs.LATEST_VERSION }}**
3. Please attach all necessary log files (in debug mode!), screenshots and other information to reproduce this issue
4. [Search for the issue topic](https://github.com/${{ github.event.repository.full_name }}/issues?q=is%3Aissue) in other/closed issues to avoid duplicates!
----
*Otherwise this issue will be closed.*