Skip to content

need to remove exersive comments and test all classes #2

need to remove exersive comments and test all classes

need to remove exersive comments and test all classes #2

Workflow file for this run

name: Welcome New Contributors
on:
issues:
types: [opened]
pull_request_target:
types: [opened]
jobs:
welcome:
runs-on: ubuntu-latest
steps:
- name: Welcome new issue creator
if: github.event_name == 'issues'
uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '👋 Welcome to DSA Practice Ground! Thank you for opening your first issue. Please make sure to:\n\n1. Check existing issues to avoid duplicates\n2. Describe what you\'re trying to implement\n3. Share what you\'ve tried so far\n4. Include relevant test failures or errors\n\nHappy learning! 🚀'
})
- name: Welcome new PR creator
if: github.event_name == 'pull_request_target'
uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '🎉 Thank you for your first contribution! Please ensure:\n\n1. All tests pass (or explain why they\'re commented)\n2. Wiki guide is included for new algorithms/structures\n3. Code follows existing patterns\n4. No solutions are provided (skeleton + tests only)\n\nA maintainer will review your PR soon. Thanks for helping others learn! 💻'
})