Skip to content

[fix] resolve critical CWE-126 buffer over-read vulnerabilities #2

[fix] resolve critical CWE-126 buffer over-read vulnerabilities

[fix] resolve critical CWE-126 buffer over-read vulnerabilities #2

Workflow file for this run

name: Auto Response
on:
issues:
types: [opened]
pull_request:
types: [opened]
permissions:
issues: write
pull-requests: write
jobs:
auto-response:
runs-on: ubuntu-latest
steps:
- name: Auto comment on issues
if: github.event_name == 'issues'
uses: actions/github-script@v7
with:
script: |
const message = `Thank you for your interest in Andromeda! 🚀
This project is currently in **showcase mode**. While I may not be able to provide immediate responses, the community is encouraged to discuss and help each other.

Check failure on line 23 in .github/workflows/auto-response.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/auto-response.yml

Invalid workflow file

You have an error in your yaml syntax on line 23
**Feel free to:**
- 🍴 Fork the project for your own use
- 💡 Share solutions in the comments
- 🤝 Connect with other users
- 📚 Learn from the codebase
**Community members**: Please feel free to jump in and help answer questions or provide insights!
Appreciate your understanding! ⭐`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: message
});
- name: Auto comment on pull requests
if: github.event_name == 'pull_request'
uses: actions/github-script@v7
with:
script: |
const message = `Thank you for your contribution to Andromeda! 🎉
This project is currently in **showcase mode** with limited maintenance capacity. While I appreciate your PR, please note:
⚠️ **Limited Review Time**: PRs may not be reviewed promptly due to time constraints
**Suggestions:**
- 🍴 Consider maintaining your changes in your own fork
- 📢 Share your improvements with the community
- 🤝 Connect with other contributors who might be interested
**Community**: Feel free to review, test, and discuss this PR!
Thank you for your understanding and contribution! 🙏`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: message
});