Skip to content

Commit 1cbb671

Browse files
committed
GH Action: New issue assignee comment workflow
1 parent df3501b commit 1cbb671

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This workflow comments helpful info in issues when they are assigned.
2+
# For more information, see:
3+
# https://github.com/actions/first-interaction
4+
5+
name: New Assignee Issue Comment
6+
on:
7+
issues:
8+
types:
9+
- assigned
10+
jobs:
11+
new-assingee-comment:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/first-interaction@v1
15+
with:
16+
repo-token: ${{ secrets.GITHUB_TOKEN }}
17+
issue-message: 'Thank you for your interest in contributing to Chayn! Please carefully read the CONTRIBUTING.md file and the README.md file for guidance. Let us know if you have any questions. Good luck!'
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
# This workflow manages open-source contributions, such as issues and pull requests.
2-
3-
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
4-
#
5-
# You can adjust the behavior by modifying this file.
1+
# This workflow warns when issues have had no activity for a specified amount of time.
62
# For more information, see:
73
# https://github.com/actions/stale
8-
name: Mark stale issues
4+
name: Mark Stale Issues
95

106
on:
117
# Enable manual run from the Actions tab.
@@ -19,6 +15,7 @@ jobs:
1915

2016
runs-on: ubuntu-latest
2117
permissions:
18+
# PR permissions can be added here
2219
issues: write
2320

2421
steps:
@@ -27,8 +24,11 @@ jobs:
2724
repo-token: ${{ secrets.GITHUB_TOKEN }}
2825
remove-stale-when-updated: false
2926
include-only-assigned: true
27+
# Disable closing issues
3028
days-before-close: -1
3129
stale-issue-label: 'stale'
30+
# Ignores comments as activity, only looks at date of issue creation.
3231
ignore-updates: true
32+
# Ignore developer staff and frequent contributors
3333
exempt-assignees: 'kyleecodes, swetha-charles, eleanorreem, annarhughes, tarebyte'
34-
stale-issue-message: 'As per Chayn policy, after 60 days of inactivity, we will be unassigning this issue to open it back up for contributors. Please comment to be re-assigned. Thank you for interest in contributing to Chayn!'
34+
stale-issue-message: 'As per Chayn policy, after 60 days of inactivity, we will be unassigning this issue to open it back up for contributors. Please comment to be re-assigned. Thank you for your interest in contributing to Chayn!'

0 commit comments

Comments
 (0)