feat: add Docker support and setup documentation #35
Workflow file for this run
This file contains hidden or 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: Welcome New Contributors | ||
| on: | ||
| issues: | ||
| types: [opened] | ||
| pull_request: | ||
| types: [opened] | ||
| permissions: | ||
| issues: write | ||
| pull-requests: write | ||
| jobs: | ||
| welcome: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Welcome issue author | ||
| if: github.event_name == 'issues' | ||
| uses: actions/github-script@v7 | ||
| with: | ||
| script: | | ||
| const issue = context.payload.issue; | ||
| const owner = context.repo.owner; | ||
| const repo = context.repo.repo; | ||
| await github.rest.issues.createComment({ | ||
| owner, | ||
| repo, | ||
| issue_number: issue.number, | ||
| body: `👋 Welcome to LearnHub, @${issue.user.login}! Thanks for opening this issue. | ||
| Please review our [Contributing Guidelines](https://github.com/udaycodespace/learnhub/blob/main/CONTRIBUTING.md) and [Code of Conduct](https://github.com/udaycodespace/learnhub/blob/main/CODE_OF_CONDUCT.md). | ||
| ### Checklist | ||
| - [ ] Star the repository | ||
| - [ ] Fork the repository | ||
| - [ ] Read \`CONTRIBUTING.md\` | ||
| - [ ] Comment \`/assign\` if you want to work on this issue | ||
| - [ ] If you are not the issue author, add your approach along with \`/assign\` | ||
| If you do not get a reply in time, please join Discord and message there with your GitHub username.` | ||
| }); | ||
| - name: Welcome pull request author | ||
| if: github.event_name == 'pull_request' | ||
| uses: actions/github-script@v7 | ||
| with: | ||
| script: | | ||
| const pr = context.payload.pull_request; | ||
| const owner = context.repo.owner; | ||
| const repo = context.repo.repo; | ||
| await github.rest.issues.createComment({ | ||
| owner, | ||
| repo, | ||
| issue_number: pr.number, | ||
| body: `🎉 Well done, @${pr.user.login}! Thanks for raising this PR. | ||
| PA will review it shortly. If you do not hear back in time, please join Discord and message there with your GitHub username. | ||
| ### Checklist | ||
| - [ ] Star the repository | ||
| - [ ] Fork the repository | ||
| - [ ] Read \`CONTRIBUTING.md\` | ||
| - [ ] Make sure the PR is linked to the relevant issue | ||
| - [ ] Make sure the PR follows the contribution rules | ||
| Please make sure your PR follows our [Contributing Guidelines](https://github.com/udaycodespace/learnhub/blob/main/CONTRIBUTING.md).` | ||
| }); | ||