Skip to content

Navbar links not working after navigating to Home page from Explore Car page #316

Navbar links not working after navigating to Home page from Explore Car page

Navbar links not working after navigating to Home page from Explore Car page #316

name: Auto Comment on Issue
on:
issues:
types: [opened]
permissions:
issues: write
jobs:
comment:
runs-on: ubuntu-latest
steps:
- name: Add Comment to Issue
uses: actions/github-script@v6
with:
script: |
const issueNumber = context.issue.number;
const commentBody = `### 🙏 Thank you for opening this issue!\n\nWe appreciate your effort in contributing to this project. Our team will review the details shortly. \n\n🔎 Meanwhile, please ensure that you have:\n- Reviewed the **README.md** for project setup and guidelines.\n- Gone through the **CONTRIBUTING.md** to follow contribution standards.\n- Read the **CODE_OF_CONDUCT.md** to maintain a respectful community.\n\n⚠️ Kindly note: Please do **not** create a Pull Request until this issue has been properly **assigned to you**. This helps us keep contributions well-organized. 🚀\n\nThanks again for your contribution! ✨`;
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issueNumber,
body: commentBody
});
console.log('Comment added successfully.');