Skip to content

Commit 66d8043

Browse files
authored
Merge branch 'main' into ssaumyaa7_javacode
2 parents 0aed0e0 + 97c3a1d commit 66d8043

Some content is hidden

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

64 files changed

+5510
-70
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Addition of New Algorithm
3+
about: add algorithm to this issue only
4+
title: ''
5+
labels: algo
6+
assignees: ''
7+
---
8+
9+
## **Algorithm Name**
10+
11+
- A clear and concise description of Algo
12+
13+
## **Describe the solution you'd like**
14+
15+
- A clear and concise description of what you want to happen.
16+
17+
## Language: **If You are interested to work on this issue then Mention Language Used**
18+
19+
20+
21+
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Addition of New Problem Statement
3+
about: add algorithm to this issue only
4+
title: ''
5+
labels: problem statement
6+
assignees: ''
7+
---
8+
9+
## **Problem Statement**
10+
11+
- A clear and concise description of Problem Statement
12+
13+
## **Describe the solution you'd like**
14+
15+
- A clear and concise description of what you want to happen.
16+
17+
## Language: **If Your interested to work on this issue then Mention Language Used**
18+
19+
20+
21+
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Correction / Bug in any file / Code
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: Correction
6+
assignees: ''
7+
---
8+
9+
## **Algorithm Name**
10+
11+
- A clear and concise description of Algo
12+
13+
## **Describe the Corrections which are required**
14+
15+
- A clear and concise description of Corrections you want to make.
16+
17+
## Correction / Bug File : **add location/ address of files having correction**
18+
## Language: **Add the Language in which there is a correction** (only one language in one issue)
19+
20+
21+
22+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Implementation of Data Structure (DS) or Related to DS
3+
about: add algorithm to this issue only
4+
title: ''
5+
labels: data structure
6+
assignees: ''
7+
---
8+
9+
## **Data Structure Name**
10+
11+
- A clear and concise description of Data Structure
12+
13+
## **Describe the solution you'd like**
14+
15+
- A clear and concise description of what you want to happen.
16+
17+
## Language : **If Your interested to work on this issue then Mention Language Used**
18+
19+
20+

.github/ISSUE_TEMPLATE/raise-issue-to-add-a-prgram-or-algorithm.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/pull_request_template.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
## Related Issue
2+
3+
- Info about Issue or bug
4+
fixes #[issue number that will be closed through this PR]
5+
6+
#### Describe the changes you've made
7+
8+
A clear and concise description of what you have done to successfully close your assigned issue. Any new files? or anything you feel to let us know!
9+
10+
## Language Used:
11+
[Mention the Language of Code]
12+
13+
## Checklist:
14+
15+
<!--
16+
Example how to mark a checkbox:-
17+
- [x] My code follows the code style of this project.
18+
-->
19+
20+
- [ ] I have placed my code file in the (/Code) Folder e.g. If it's a Code in JAVA then I have placed my code pr_name.java file in (/Code/Java/) Directory.
21+
- [ ] I have Added the Description, Approach, and Working of Code at the beginning of Code.
22+
- [ ] I have added 2 or more Testcases at the Bottom side of the Code.
23+
- [ ] I have Added Time and Space Complexity at the End of the Code.
24+
- [ ] I have Explained the Variables use in Complexity e.g. O(n) where n is the length of an array.
25+
- [ ] I have Updated the Readme Related to the Topics e.g., if the issue is regarding Matrix then Update the Readme.MD present in 2D_Array Folder.
26+
- [ ] I have added Proper Comments in between the Code for Better Explanation.
27+
- [ ] I have sorted the list of the Readme.MD where I have added the issue in the Alphabetical Order.
28+
29+
30+
31+
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Auto message on Creating Issue.
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
greeting:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Create comment for issue
12+
if: github.event_name =='issues'
13+
uses: peter-evans/create-or-update-comment@v1
14+
with:
15+
issue-number: ${{tojson(github.event.issue.number)}}
16+
body: |
17+
Hi 😄, @${{ github.actor }} Thanks for creating issue at AlgoTree, do read and follow the [Code of Conduct](https://github.com/Algo-Phantoms/Algo-Tree/blob/main/CODE_OF_CONDUCT.md) and the [Contribution Guidelines](https://github.com/Algo-Phantoms/Algo-Tree/blob/main/GUIDLINES.md) while contributing. Refer to PR's which has been merged earlier in AlgoTree [Click Here](https://github.com/Algo-Phantoms/Algo-Tree/pulse#merged-pull-requests) Like, How many File they have changed?, Which type of files need to be change? and many more.
18+
19+
20+
21+
22+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: congratulations Message on PR merge
2+
3+
on:
4+
pull_request_target:
5+
types: [closed]
6+
7+
jobs:
8+
auto-response:
9+
runs-on: ubuntu-latest
10+
11+
if: github.event.pull_request.merged == true
12+
steps:
13+
- uses: derekprior/add-autoresponse@master
14+
env:
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16+
with:
17+
respondableId: ${{ github.event.pull_request.node_id }}
18+
response: "Congratulations 🎉🎊, Your PR has been Merged and Thank you @${{ github.event.pull_request.user.login }} for taking out your valuable time in order to contribute to AlgoTree. Looking forward for more such amazing contributions :)"
19+
author: ${{ github.event.pull_request.user.login }}
20+
21+
22+
23+
24+
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Auto message on pr opened
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
jobs:
8+
auto-response:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: derekprior/add-autoresponse@master
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
with:
16+
respondableId: ${{ github.event.pull_request.node_id }}
17+
response: "AlgoTree team will review your PR soon. Take Care of Few of the Things where most contributors are missing out. ![msgonpr](https://user-images.githubusercontent.com/73196470/119976078-3a7a5600-bfd4-11eb-9600-502fcbe36ac4.JPG) @${{ github.event.pull_request.user.login }} :)"
18+
author: ${{ github.event.pull_request.user.login }}
19+
20+
21+
22+

.github/workflows/greetings.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Greetings
2+
3+
on: [pull_request, issues]
4+
5+
jobs:
6+
greeting:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/first-interaction@v1
10+
with:
11+
repo-token: ${{ secrets.GITHUB_TOKEN }}
12+
issue-message: 'Hi 😄, thanks for creating issue at AlgoTree, do read and follow the [Code of Conduct](https://github.com/Algo-Phantoms/Algo-Tree/blob/main/CODE_OF_CONDUCT.md) and the [Contribution Guidelines](https://github.com/Algo-Phantoms/Algo-Tree/blob/main/GUIDLINES.md) while contributing.'
13+
14+
15+
16+

0 commit comments

Comments
 (0)