Test PR check list (do not merge) #2
Workflow file for this run
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: "When Opened" | |
on: | |
issues: | |
types: | |
- opened | |
pull_request_target: | |
types: | |
- opened | |
jobs: | |
triage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Reviewer Checklist" | |
uses: actions/github-script@v7 | |
if: github.event_name == 'pull_request_target' | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
script: | | |
await github.rest.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: `Thank you for your contribution to ssoforcedphot, a LINCC Framework package! 🌌 This checklist is meant to remind pull request reviewers of some common things to look for. | |
- [ ] Do the proposed changes accomplish the desired goals and meet the acceptance criteria of the related issue? | |
- [ ] Do the proposed changes follow the coding guidelines? | |
- [ ] Are tests added/updated as needed? Are methods requiring network access mocked for offline testing? | |
- [ ] Is there sufficient documentation for the changes? | |
}) |