on master help sign in
add workflows to set expectations about issues and pull requests
commit903c79b121b44c17873b9bacd6f6436e984c01bd authorEvan Czaplicki <evancz@users.noreply.github.com> dateThu 6 Feb 2020, 17:16 (7 years ago) parent035c603
2 files changed+42
.github/workflows/set-issue-expectations.yml+21 .github/workflows/set-pull-expectations.yml+21
.github/workflows/set-issue-expectations.ymlnew file+21
@@ -0,0 +1,21 @@
1+name: Set Issue Expectations
2+on:
3+ issues:
4+ types: [opened]
5+jobs:
6+ comment-on-issue:
7+ name: Comment On Issue
8+ runs-on: ubuntu-latest
9+ steps:
10+ - uses: actions/github@v1.0.0
11+ env:
12+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13+ with:
14+ args: |
15+ comment "Thanks for reporting this! To set expectations:
16+
17+ - Issues are reviewed in [batches](https://github.com/elm/expectations/blob/master/batching.md), so it can take some time to get a response.
18+ - Ask questions a [community forum](https://elm-lang.org/community). You will get an answer quicker that way!
19+ - If you experience something similar, open a new issue. [We like duplicates](https://github.com/elm/expectations/blob/master/duplicates.md).
20+
21+ Finally, please be patient with the core team. They are trying their best with limited resources."
.github/workflows/set-pull-expectations.ymlnew file+21
@@ -0,0 +1,21 @@
1+name: Set Pull Expectations
2+on:
3+ pull-requests:
4+ types: [opened]
5+jobs:
6+ comment-on-pull:
7+ name: Comment On Pull
8+ runs-on: ubuntu-latest
9+ steps:
10+ - uses: actions/github@v1.0.0
11+ env:
12+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13+ with:
14+ args: |
15+ comment "Thanks for suggesting these code changes. To set expectations:
16+
17+ - Pull requests are reviewed in batches, so it can take some time to get a response. Learn why [here](https://github.com/elm/expectations/blob/master/batching.md).
18+ - Smaller pull requests are easier to review. To fix nine typos, nine specific issues will always go faster than one big one. Learn why [here](https://github.com/elm/expectations/blob/master/small-pull-requests.md).'
19+ - Reviewers may not know as much as you about certain situations, so please add links to supporting evidence for any important claims, especially regarding standards for CSS, HTTP, URI, etc.'
20+
21+ Finally, please be patient with the core team. They are trying their best with limited resources."