Skip to content

Commit fb2f6b6

Browse files
Merge branch 'main' into feature/back-to-top
2 parents 25844ee + 76352ca commit fb2f6b6

20 files changed

Lines changed: 2578 additions & 211 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,5 @@ body:
5454
required: true
5555
- label: "I want to work on this issue"
5656
required: false
57+
- label: "I am participating in GSSoC 2026"
58+
required: false

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,6 @@ body:
7373
required: true
7474
- label: "I want to work on this issue"
7575
required: false
76+
- label: "I am participating in GSSoC 2026"
77+
required: false
7678

.github/ISSUE_TEMPLATE/project_proposal.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,5 @@ body:
104104
required: true
105105
- label: "I want to work on this issue"
106106
required: false
107+
- label: "I am participating in GSSoC 2026"
108+
required: false

.github/pull_request_template.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,5 @@ body:
7575
required: false
7676
- label: "I have updated the README.md (if adding new project)"
7777
required: false
78+
- label: "I am participating in GSSoC 2026"
79+
required: false
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: GSSoC Labeler
2+
3+
on:
4+
issues:
5+
types: [opened, edited]
6+
pull_request_target:
7+
types: [opened, edited]
8+
9+
jobs:
10+
label_gssoc:
11+
runs-on: ubuntu-latest
12+
13+
permissions:
14+
issues: write
15+
pull-requests: write
16+
17+
steps:
18+
- name: Check and add GSSoC label
19+
uses: actions/github-script@v7
20+
with:
21+
script: |
22+
let bodyText = "";
23+
let issueNum = null;
24+
25+
if (context.payload.issue?.body) {
26+
bodyText = context.payload.issue.body;
27+
issueNum = context.payload.issue.number;
28+
}
29+
else if (context.payload.pull_request?.body) {
30+
bodyText = context.payload.pull_request.body;
31+
issueNum = context.payload.pull_request.number;
32+
}
33+
34+
const isGSSoC =
35+
bodyText.includes("[x] I am participating in GSSoC 2026") ||
36+
bodyText.includes("[X] I am participating in GSSoC 2026");
37+
38+
if (isGSSoC && issueNum) {
39+
await github.rest.issues.addLabels({
40+
owner: context.repo.owner,
41+
repo: context.repo.repo,
42+
issue_number: issueNum,
43+
labels: ["gssoc26"]
44+
});
45+
}

.github/workflows/pr-merged-thanks.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,27 @@ jobs:
88
thank-contributor:
99
if: github.event.pull_request.merged == true
1010
runs-on: ubuntu-latest
11+
1112
permissions:
13+
pull-requests: write
1214
issues: write
1315

1416
steps:
1517
- name: Thank contributor for the merge
1618
uses: actions/github-script@v7
1719
with:
1820
script: |
19-
github.rest.issues.createComment({
21+
await github.rest.issues.createComment({
2022
issue_number: context.payload.pull_request.number,
2123
owner: context.repo.owner,
2224
repo: context.repo.repo,
23-
body: |
24-
🎉 **Thank you for your contribution!**
25+
body: `🎉 **Thank you for your contribution!**
2526
26-
Your Pull Request has been merged successfully.
27+
Your Pull Request has been merged successfully.
2728
28-
We appreciate the time and effort you put into improving this project. Contributions like yours help the repository grow and stay useful for everyone.
29+
We appreciate the time and effort you put into improving this project. Contributions like yours help the repository grow and stay useful for everyone.
2930
30-
If you'd like to contribute again, please check the open issues and make sure you are assigned before opening another Pull Request.
31+
If you'd like to contribute again, please check the open issues and make sure you are assigned before opening another Pull Request.
3132
32-
Thanks again for your support! 🙌
33-
})
33+
Thanks again for your support! 🙌`
34+
});

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"liveServer.settings.port": 5501
2+
"liveServer.settings.port": 5502
33
}

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ git clone https://github.com/YOUR_USERNAME/python-mini-project.git
3232
cd python-mini-project
3333

3434
# Add upstream remote
35-
git remote add upstream https://github.com/ORIGINAL_OWNER/python-mini-project.git
35+
git remote add upstream https://github.com/steam-bell-92/python-mini-project.git
3636
```
3737

3838
### 2. Create a Branch

0 commit comments

Comments
 (0)