You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/pull_request-opened.yml
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -15,15 +15,17 @@ jobs:
15
15
uses: actions/github-script@v7
16
16
with:
17
17
script: |
18
+
const body = `### 🎉 Welcome!
19
+
20
+
Thank you for your contribution and for opening this pull request.
21
+
22
+
### 📖 Contribution Guidelines
23
+
24
+
For more details on how to contribute effectively, please refer to our [How to Contribute](https://github.com/simonkovtyk/esbuild-plugin-package-json/blob/main/docs/guides/HOW_TO_CONTRIBUTE.md) document.`
25
+
18
26
github.rest.issues.createComment({
19
27
owner: context.repo.owner,
20
28
repo: context.repo.repo,
21
29
issue_number: context.issue.number,
22
-
body: `### 🎉 Welcome!
23
-
24
-
Thank you for your contribution and for opening this pull request.
25
-
26
-
### 📖 Contribution Guidelines
27
-
28
-
For more details on how to contribute effectively, please refer to our [How to Contribute](https://github.com/simonkovtyk/esbuild-plugin-package-json/blob/main/docs/guides/HOW_TO_CONTRIBUTE.md) document.`
Copy file name to clipboardExpand all lines: .github/workflows/pull_request.yml
+19-14Lines changed: 19 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -29,23 +29,26 @@ jobs:
29
29
notify_success:
30
30
runs-on: ubuntu-latest
31
31
needs: style_check
32
+
32
33
if: success()
33
34
steps:
34
35
- name: Comment success
35
36
uses: actions/github-script@v7
36
37
with:
37
38
script: |
39
+
const body = `### ✅ Successful Review
40
+
41
+
Great news! Your pull request has been successfully reviewed, and no errors were found.
42
+
43
+
### ⏳ Next Steps
44
+
45
+
The author will review the changes shortly, and we look forward to merging your contributions into the project. Thank you for your hard work and dedication! 🎉`
46
+
38
47
github.rest.issues.createComment({
39
48
owner: context.repo.owner,
40
49
repo: context.repo.repo,
41
50
issue_number: context.issue.number,
42
-
body: `### ✅ Successful Review
43
-
44
-
Great news! Your pull request has been successfully reviewed, and no errors were found.
45
-
46
-
### ⏳ Next Steps
47
-
48
-
The author will review the changes shortly, and we look forward to merging your contributions into the project. Thank you for your hard work and dedication! 🎉`
51
+
body
49
52
});
50
53
51
54
github.rest.issues.addLabels({
@@ -63,17 +66,19 @@ jobs:
63
66
uses: actions/github-script@v7
64
67
with:
65
68
script: |
69
+
const body = `### ⚠️ Review Required
70
+
71
+
Thank you for your contribution! Upon review, we've identified some issues in the pull request that need to be addressed. Please take a moment to review the errors and make the necessary adjustments before we can proceed with the integration.
72
+
73
+
### 🛠️ Next Steps
74
+
75
+
Feel free to reach out if you have any questions or need assistance. We appreciate your effort in improving our codebase! 🙏`
76
+
66
77
github.rest.issues.createComment({
67
78
owner: context.repo.owner,
68
79
repo: context.repo.repo,
69
80
issue_number: context.issue.number,
70
-
body: `### ⚠️ Review Required
71
-
72
-
Thank you for your contribution! Upon review, we've identified some issues in the pull request that need to be addressed. Please take a moment to review the errors and make the necessary adjustments before we can proceed with the integration.
73
-
74
-
### 🛠️ Next Steps
75
-
76
-
Feel free to reach out if you have any questions or need assistance. We appreciate your effort in improving our codebase! 🙏`
0 commit comments