[BUG] Fix the href anchor tags in the footer section to link to the correct pages & sections. #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Issue Welcome Comment | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
comment: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Add Welcome Comment | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
const issue_number = context.issue.number; | |
const owner = context.repo.owner; | |
const repo = context.repo.repo; | |
const body = `Thank you for creating an issue! 🎉 Please make sure to: | |
- Read our [CONTRIBUTING.md](https://github.com/${owner}/${repo}/blob/main/CONTRIBUTING.md) guide. | |
- Star our repo ⭐ if you find it useful. | |
Your contribution is appreciated!`; | |
github.rest.issues.createComment({ | |
issue_number: issue_number, | |
owner: owner, | |
repo: repo, | |
body: body | |
}); |