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/issues.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,8 @@ jobs:
17
17
body: |
18
18
Thank you for reporting this issue!
19
19
20
-
As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.
20
+
As myerscode is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.
21
21
22
-
If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team.
22
+
If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the myerscode team.
if (pullRequest.headRepositoryOwner.login === 'laravel') {
45
-
console.log('PR owned by laravel');
44
+
if (pullRequest.headRepositoryOwner.login === 'myerscode') {
45
+
console.log('PR owned by myerscode');
46
46
47
47
return;
48
48
}
@@ -54,11 +54,11 @@ jobs:
54
54
}
55
55
56
56
if (pullRequest.isDraft) {
57
-
console.log('PR not owned by Laravel and is submitted as a draft.');
57
+
console.log('PR not owned by myerscode and is submitted as a draft.');
58
58
59
59
await github.rest.issues.createComment({
60
60
issue_number: pullNumber,
61
-
owner: 'laravel',
61
+
owner: 'myerscode',
62
62
repo: context.repo.repo,
63
63
body: "Thanks for submitting a PR!\n\nNote that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.\n\nPull requests that are abandoned in draft may be closed due to inactivity."
if (pullRequest.headRepositoryOwner.login === 'laravel') {
106
-
console.log('PR owned by laravel');
105
+
if (pullRequest.headRepositoryOwner.login === 'myerscode') {
106
+
console.log('PR owned by myerscode');
107
107
108
108
return;
109
109
}
@@ -115,18 +115,18 @@ jobs:
115
115
}
116
116
117
117
if (! pullRequest.maintainerCanModify) {
118
-
console.log('PR not owned by Laravel and does not have maintainer edits enabled');
118
+
console.log('PR not owned by myerscode and does not have maintainer edits enabled');
119
119
120
120
await github.rest.issues.createComment({
121
121
issue_number: pullNumber,
122
-
owner: 'laravel',
122
+
owner: 'myerscode',
123
123
repo: context.repo.repo,
124
124
body: "Thanks for submitting a PR!\n\nIn order to review and merge PRs most efficiently, we require that all PRs grant maintainer edit access before we review them. For information on how to do this, [see the relevant GitHub documentation](https://docs.github.com/en/github/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork). Additionally, GitHub doesn't allow maintainer permissions from organization accounts. Please resubmit this PR from a personal GitHub account with maintainer permissions enabled."
0 commit comments