Update pr-comment.yml #5
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: Auto Comment on PR | |
| on: | |
| pull_request: | |
| types: [opened] | |
| jobs: | |
| comment: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Comment on the new PR | |
| uses: actions/github-script@v7 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| script: | | |
| github.rest.issues.createComment({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| body: '👋 Thanks for opening this Pull Request on Databricks Blog Post Repo!\n\nYou will need a technical reviewer from Databricks to accept your PR. Please have them comment on this PR, saying they reviewed it.\n\nPing the repo maintainers to accept the PR once it\'s ready.\n\nPlease review this checklist:\n- Make sure you have a clear README explaining how to use the content. Add a link to your blog post once live.\n- List all the libraries used with their license on the README, only Apache, BSD, MIT, or DB License\n- Use Databricks License\n- Don\'t include any sensitive or private information\n- Don\'t use external datasets\n- Add 2 nicknames in the CODEOWNERS file as part of your PR.' | |
| }) |