File tree 2 files changed +34
-0
lines changed
2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Hint to a github contributor
2
+
3
+ on :
4
+ pull_request :
5
+ types : [opened, created]
6
+
7
+ jobs :
8
+ comment :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Add comment to PR
12
+ env :
13
+ URL : ${{ github.event.pull_request.comments_url }}
14
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
15
+ MESSAGE :
16
+ Hi!\n
17
+ Thanks for the patch.\n
18
+ Please take a look at
19
+ https://github.com/ovn-org/ovn/blob/main/Documentation/internals/contributing/submitting-patches.rst
20
+ and
21
+ https://github.com/ovn-org/ovn/blob/main/Documentation/internals/contributing/coding-style.rst\n
22
+ Squash commits and ensure that your patch passes the checks:\n
23
+ ` ` ` \n
24
+ $ ./utilities/checkpatch.py -1\n
25
+ ` ` ` \n
26
+
27
+ run : |
28
+ curl \
29
+ -X POST \
30
+ $URL \
31
+ -H "Content-Type: application/json" \
32
+ -H "Authorization: token $GITHUB_TOKEN" \
33
+ --data "{ \"body\": \"$MESSAGE\" }"
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ EXTRA_DIST = \
91
91
.ci/osx-build.sh \
92
92
.ci/osx-prepare.sh \
93
93
.ci/ovn-kubernetes/Dockerfile \
94
+ .github/workflows/hint.yml \
94
95
.github/workflows/test.yml \
95
96
.github/workflows/ovn-kubernetes.yml \
96
97
boot.sh \
You can’t perform that action at this time.
0 commit comments