Skip to content

Enhance Wellness Hub UI and Add Advanced Health Calculators #8

Enhance Wellness Hub UI and Add Advanced Health Calculators

Enhance Wellness Hub UI and Add Advanced Health Calculators #8

Workflow file for this run

name: Auto-Respond to New Issues
on:
issues:
types: [opened]
permissions:
issues: write
jobs:
issue_response:
runs-on: ubuntu-latest
steps:
- name: Post automated comment on new issue
uses: actions/github-script@v6
with:
script: |
const issueNumber = context.issue.number;
const commentBody = "Thanks for opening an issue! 🎉\n\n" +
"Your contribution helps us improve the project.\n\n" +
"Our team will review your submission as soon as possible.\n" +
"Please make sure your issue follows the provided template to help us process it faster.\n\n" +
"Keep building awesome stuff! 🚀";
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issueNumber,
body: commentBody
});
console.log('Issue comment posted successfully.');