Skip to content

Commit 13ee9e7

Browse files
Merge branch 'main' into fix-tictactoe-game
2 parents 0526b11 + 1051a97 commit 13ee9e7

614 files changed

Lines changed: 150660 additions & 1111 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/labeler.yml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
2+
3+
documentation:
4+
- changed-files:
5+
- any-glob-to-any-file:
6+
- '**/*.md'
7+
- 'docs/**'
8+
9+
python:
10+
- changed-files:
11+
- any-glob-to-any-file:
12+
- '**/*.py'
13+
14+
15+
github-actions:
16+
- changed-files:
17+
- any-glob-to-any-file:
18+
- '.github/**'
19+
20+
21+
enhancement:
22+
- changed-files:
23+
- any-glob-to-any-file:
24+
25+
- 'src/**'
26+
- '*/**.py'
27+
28+
beginner:
29+
- changed-files:
30+
31+
- any-glob-to-any-file:
32+
- '**/*.md'
33+
34+
intermediate:
35+
36+
- changed-files:
37+
- any-glob-to-any-file:
38+
- '**/*.py'
39+
40+
41+
advanced:
42+
- changed-files:
43+
- any-glob-to-any-file:
44+
- '.github/**'
45+
- 'tests/**'
46+
47+
"type:design":
48+
- changed-files:
49+
- any-glob-to-any-file:
50+
- 'web-app/**'
51+
- 'web-app/*.html'
52+
- 'web-app/js/**'
53+
- 'web-app/css/**'
54+
55+
"type:feature":
56+
- changed-files:
57+
- any-glob-to-any-file:
58+
- '**/*.py'
59+
60+
"type:docs":
61+
- changed-files:
62+
- any-glob-to-any-file:
63+
- '**/*.md'
64+
- 'README.html'
65+
- 'docs/**'
66+
67+
"type:devops":
68+
- changed-files:
69+
- any-glob-to-any-file:
70+
- '.github/**'
71+
- '.github/workflows/**'
72+
73+
"type:refactor":
74+
- changed-files:
75+
- any-glob-to-any-file:
76+
- '**/*.py'
77+
- 'web-app/**'
78+
79+
"type:bug":
80+
- changed-files:
81+
- any-glob-to-any-file:
82+
- '**/*.py'
83+
- 'tests/**'
84+

.github/workflows/gssoc-labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ jobs:
4040
owner: context.repo.owner,
4141
repo: context.repo.repo,
4242
issue_number: issueNum,
43-
labels: ["gssoc26"]
43+
labels: ["gssoc:accepted"],
4444
});
4545
}

.github/workflows/labeler.yml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: Auto Label Issues and PRs
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
issues:
7+
types: [opened, reopened]
8+
9+
permissions:
10+
contents: read
11+
issues: write
12+
pull-requests: write
13+
14+
jobs:
15+
label-pr:
16+
name: Label Pull Requests
17+
runs-on: ubuntu-latest
18+
if: github.event_name == 'pull_request'
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v4
22+
23+
- name: Apply labels based on changed files
24+
uses: actions/labeler@v5
25+
with:
26+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
27+
configuration-path: .github/labeler.yml
28+
29+
label-issue:
30+
name: Label Issues
31+
runs-on: ubuntu-latest
32+
if: github.event_name == 'issues'
33+
steps:
34+
- name: Label new issues with gssoc26
35+
uses: actions/github-script@v7
36+
with:
37+
github-token: ${{ secrets.GITHUB_TOKEN }}
38+
script: |
39+
const issue = context.payload.issue;
40+
const body = (issue.body || '').toLowerCase();
41+
const title = (issue.title || '').toLowerCase();
42+
43+
const labelsToAdd = ['gssoc26'];
44+
45+
if (title.includes('bug') || body.includes('bug')) {
46+
labelsToAdd.push('bug');
47+
}
48+
if (title.includes('feature') || body.includes('enhancement')) {
49+
labelsToAdd.push('enhancement');
50+
}
51+
if (title.includes('docs') || body.includes('documentation')) {
52+
labelsToAdd.push('documentation');
53+
}
54+
if (title.includes('level 1') || body.includes('level 1')) {
55+
labelsToAdd.push('level1');
56+
}
57+
if (title.includes('level 2') || body.includes('level 2')) {
58+
labelsToAdd.push('level2');
59+
}
60+
if (title.includes('level 3') || body.includes('level 3')) {
61+
labelsToAdd.push('level3');
62+
}
63+
64+
await github.rest.issues.addLabels({
65+
owner: context.repo.owner,
66+
repo: context.repo.repo,
67+
issue_number: issue.number,
68+
labels: labelsToAdd
69+
});

.gitignore

18 Bytes
Binary file not shown.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Copyright (c) 2026 Replit, Inc. All rights reserved.
2+
3+
The contents of this directory are proprietary to Replit, Inc. and are
4+
licensed for use solely within the Replit platform under the applicable
5+
Replit user terms. Use of the contents of this directory within the
6+
Replit platform, including by Replit users for commercial purposes, is
7+
unlimited and expressly permitted.
8+
9+
Outside of the Replit platform, the contents of this directory are
10+
licensed under the Creative Commons Attribution-NonCommercial 4.0
11+
International License (CC BY-NC 4.0). You may obtain a copy of that
12+
license at:
13+
https://creativecommons.org/licenses/by-nc/4.0/
14+
15+
Under CC BY-NC 4.0, you may share and adapt the contents of this
16+
directory for non-commercial purposes, provided you appropriately credit
17+
Replit, Inc. and indicate if changes were made. Commercial use of the
18+
contents of this directory outside of the Replit platform is strictly
19+
prohibited without a separate license from Replit, Inc.
20+
21+
For commercial licensing inquiries, contact: support@replit.com
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9ddf6593609d4d0fcb1ab58f575522cd

0 commit comments

Comments
 (0)