Skip to content

[BUG] Code Block Visibility Issue on Bubble Sort Algorithm Page #41

[BUG] Code Block Visibility Issue on Bubble Sort Algorithm Page

[BUG] Code Block Visibility Issue on Bubble Sort Algorithm Page #41

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
});