on master help sign in
Fix pull request expectations not getting posted
d525f29Razze
.github/workflows/set-pull-expectations.yml+7−8
@@ -1,21 +1,20 @@
1name: Set Pull Expectations
1name: Set Pull Expectations
2−on:
3− pull_request:
2+on: pull_request
4− types: [opened]
3+
5jobs:
4jobs:
6 comment-on-pull:
5 comment-on-pull:
7 name: Comment On Pull
6 name: Comment On Pull
8 runs-on: ubuntu-latest
7 runs-on: ubuntu-latest
9 steps:
8 steps:
10− - uses: actions/github@v1.0.0
9+ - name: Comment PR
11− env:
10+ uses: thollander/actions-comment-pull-request@master
12− GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13 with:
11 with:
14− args: |
12+ message:
15− comment "Thanks for suggesting these code changes. To set expectations:
13+ "Thanks for suggesting these code changes. To set expectations:
16
14
17 - Pull requests are reviewed in [batches](https://github.com/elm/expectations/blob/master/batching.md), so it can take some time to get a response.
15 - Pull requests are reviewed in [batches](https://github.com/elm/expectations/blob/master/batching.md), so it can take some time to get a response.
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).
16 - 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 add links to supporting evidence for important claims, especially regarding standards for CSS, HTTP, URI, etc.
17 - Reviewers may not know as much as you about certain situations, so add links to supporting evidence for important claims, especially regarding standards for CSS, HTTP, URI, etc.
20
18
21 Finally, please be patient with the core team. They are trying their best with limited resources."
19 Finally, please be patient with the core team. They are trying their best with limited resources."
20+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}