forked from astropy/astropy
-
Notifications
You must be signed in to change notification settings - Fork 0
87 lines (75 loc) · 3.64 KB
/
open_actions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: "When Opened"
on:
issues:
types:
- opened
pull_request_target:
types:
- opened
jobs:
triage:
runs-on: ubuntu-latest
steps:
# NOTE: sync-labels due to https://github.com/actions/labeler/issues/112
- name: Label PR
uses: actions/labeler@v4
if: github.event_name == 'pull_request_target' && github.event.pull_request.user.login != 'meeseeksmachine'
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: ''
- name: Greet new contributors
uses: actions/first-interaction@v1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
issue-message: >
Welcome to Astropy 👋 and thank you for your first issue!
A project member will respond to you as soon as possible; in
the meantime, please double-check the [guidelines for submitting
issues](https://github.com/astropy/astropy/blob/main/CONTRIBUTING.md#reporting-issues)
and make sure you've provided the requested details.
GitHub issues in the Astropy repository are used to track bug
reports and feature requests; If your issue poses a question about
how to use Astropy, please instead raise your question in the
[Astropy Discourse user
forum](https://community.openastronomy.org/c/astropy/8) and close
this issue.
If you feel that this issue has not been responded to in a timely
manner, please leave a comment mentioning our software support
engineer @embray, or send a message directly to the [development
mailing list](http://groups.google.com/group/astropy-dev). If
the issue is urgent or sensitive in nature (e.g., a security
vulnerability) please send an e-mail directly to the private e-mail
pr-message: >
Welcome to Astropy 👋 and congratulations on your first pull
request! 🎉
A project member will respond to you as soon as possible; in the
meantime, please have a look over the [Checklist for Contributed
Code](https://github.com/astropy/astropy/blob/main/CONTRIBUTING.md#checklist-for-contributed-code)
and make sure you've addressed as many of the questions there as
possible.
If you feel that this pull request has not been responded to in a
timely manner, please leave a comment mentioning our software
support engineer @embray, or send a message directly to the
[development mailing
list](http://groups.google.com/group/astropy-dev). If the issue is
urgent or sensitive in nature (e.g., a security vulnerability)
please send an e-mail directly to the private e-mail
- name: 'Comment Draft PR'
uses: actions/github-script@v6
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?'
})
# We can take this out when astropy-bot comes back online, maybe... Until next year!
#- name: Special comment
# uses: pllim/action-special_pr_comment@main
# with:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}