Skip to content

Commit e68a3be

Browse files
committed
Merge branches 'main' and 'main' of https://github.com/Shariq2003/awesome-github-profiles
2 parents 5da9afd + 0e9a260 commit e68a3be

Some content is hidden

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

50 files changed

+593
-4
lines changed

.github/CODEOWNERS

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
# This should make it easy to add new rules without breaking existing ones.
1313

1414
# Global rule:
15-
*.js @sanjay-kv
15+
*.js @sanjay-kv @HimangshuSharma01
1616

17-
*.css @sanjay-kv
17+
*.css @sanjay-kv @HimangshuSharma01
1818

19-
*.html @sanjay-kv
19+
*.html @sanjay-kv @HimangshuSharma01
2020

2121
# Reademe Files:
22-
*.md @sanjay-kv
22+
*.md @sanjay-kv @HimangshuSharma01
2323

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Auto Comment on Issue Open
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
permissions:
8+
issues: write
9+
10+
jobs:
11+
comment-on-issue:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Add Comment to Opened Issue
16+
run: |
17+
COMMENT=$(cat <<EOF
18+
{
19+
"body": "Thank you for creating this issue! 🎉 We'll look into it asap and assign you based on FCFS -[ ] In the meantime, please make sure to Join recode org [Invite link](https://github.com/recodehive/Support/issues/new?assignees=&labels=invite+me+to+the+community&projects=&template=invitation.yml&title=Please+invite+me+to+the+Recode-Hive+GitHub+Community+Organization)-[ ] The main code file is located in gh-pages branch -[ ] Watch the complete youtube [GitHub Tutorial](https://stream.recodehive.com/github) Your contributions are highly appreciated! 😊 Don't forgot to follow me @sanjay-kv `More surprise when you raise PR`"
20+
21+
}
22+
EOF
23+
)
24+
RESPONSE=$(curl -s -o response.json -w "%{http_code}" \
25+
-X POST \
26+
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
27+
-H "Accept: application/vnd.github.v3+json" \
28+
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/comments \
29+
-d "$COMMENT")
30+
cat response.json
31+
if [ "$RESPONSE" -ne 201 ]; then
32+
echo "Failed to add comment on issue open"
33+
exit 1
34+
fi
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/autolabel.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Auto Label Issue
2+
3+
on:
4+
issues:
5+
types: [opened, reopened, edited]
6+
7+
jobs:
8+
label_issue:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
steps:
13+
- name: Label Issue
14+
uses: actions/github-script@v6
15+
with:
16+
github-token: ${{secrets.GITHUB_TOKEN}}
17+
script: |
18+
const issue = context.payload.issue;
19+
const issueBody = issue.body ? issue.body.toLowerCase() : '';
20+
const issueTitle = issue.title.toLowerCase();
21+
22+
// Add gssoc-ext and hacktoberfest labels to all issues
23+
await github.rest.issues.addLabels({
24+
owner: context.repo.owner,
25+
repo: context.repo.repo,
26+
issue_number: issue.number,
27+
labels: ['gssoc-ext', 'hacktoberfest-accepted', 'level2']
28+
});
29+
30+
const addLabel = async (label) => {
31+
await github.rest.issues.addLabels({
32+
owner: context.repo.owner,
33+
repo: context.repo.repo,
34+
issue_number: issue.number,
35+
labels: [label]
36+
});
37+
};
38+

README.md

Lines changed: 2 additions & 0 deletions

screenshots/17arindam.png

250 Bytes

screenshots/Aasthaa10.png

282 KB

screenshots/Adinath-j.png

316 KB

screenshots/AnishaDevi.png

263 KB

screenshots/Anubhab2003.png

199 KB

screenshots/Ayush215mb.png

603 KB

0 commit comments

Comments
 (0)