Skip to content

MNT: numpy 2 and astropy 6.1 compat, bump minversions #97

MNT: numpy 2 and astropy 6.1 compat, bump minversions

MNT: numpy 2 and astropy 6.1 compat, bump minversions #97

Workflow file for this run

name: When Opened
on:
issues:
types:
- opened
pull_request_target:
types:
- opened
jobs:
triage:
runs-on: ubuntu-latest
steps:
- name: Label PR
uses: actions/labeler@v5
if: github.event_name == 'pull_request_target'
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- 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! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
- [ ] Do the proposed changes actually accomplish desired goals?
- [ ] Do the proposed changes follow the [STScI coding guidelines](https://github.com/spacetelescope/style-guides/blob/master/guides/python.md)?
- [ ] Are tests added/updated as required? If so, do they follow the [STScI testing guidelines](https://github.com/spacetelescope/style-guides/blob/master/guides/python-testing.md)?
- [ ] Are docs added/updated as required?
- [ ] Is rebase and/or squash necessary? If so, please provide the author with appropriate instructions.
- [ ] Did the CI pass? If no, are the failures related?
- [ ] Is a change log needed?
})
- name: 'Comment Draft PR'
uses: actions/github-script@v7
if: github.event.pull_request.draft == true
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 draft pull request! Do you know that you can use `[ci skip]` or `[skip ci]` in your commit messages to skip running continuous integration tests until you are ready?'
})
#- name: Special comment
# uses: pllim/action-special_pr_comment@main
# with:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}