Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a review checklist on newly opened PRs #14

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/open_actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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?
})