Skip to content

Commit 339146b

Browse files
committed
created org repo
1 parent 6fc0dfc commit 339146b

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/issues.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
body: |
1818
Thank you for reporting this issue!
1919
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.
2121
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.
2323
2424
Thank you!

.github/workflows/pull-requests.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
1818
const query = `
1919
query($number: Int!) {
20-
repository(owner: "laravel", name: "${repo}") {
20+
repository(owner: "myerscode", name: "${repo}") {
2121
pullRequest(number: $number) {
2222
headRepositoryOwner {
2323
login
@@ -41,8 +41,8 @@ jobs:
4141
4242
const pullRequest = result.repository.pullRequest;
4343
44-
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');
4646
4747
return;
4848
}
@@ -54,11 +54,11 @@ jobs:
5454
}
5555
5656
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.');
5858
5959
await github.rest.issues.createComment({
6060
issue_number: pullNumber,
61-
owner: 'laravel',
61+
owner: 'myerscode',
6262
repo: context.repo.repo,
6363
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."
6464
});
@@ -78,7 +78,7 @@ jobs:
7878
7979
const query = `
8080
query($number: Int!) {
81-
repository(owner: "laravel", name: "${repo}") {
81+
repository(owner: "myerscode", name: "${repo}") {
8282
pullRequest(number: $number) {
8383
headRepositoryOwner {
8484
login
@@ -102,8 +102,8 @@ jobs:
102102
103103
const pullRequest = result.repository.pullRequest;
104104
105-
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');
107107
108108
return;
109109
}
@@ -115,18 +115,18 @@ jobs:
115115
}
116116
117117
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');
119119
120120
await github.rest.issues.createComment({
121121
issue_number: pullNumber,
122-
owner: 'laravel',
122+
owner: 'myerscode',
123123
repo: context.repo.repo,
124124
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."
125125
});
126126
127127
await github.rest.pulls.update({
128128
pull_number: pullNumber,
129-
owner: 'laravel',
129+
owner: 'myerscode',
130130
repo: context.repo.repo,
131131
state: 'closed'
132132
});

0 commit comments

Comments
 (0)