Skip to content

Commit 5bc3f94

Browse files
authored
Minor Update
Merge pull request #10 from iamwatchdogs/minor-update
2 parents 499eb97 + d296272 commit 5bc3f94

File tree

10 files changed

+155
-12
lines changed

10 files changed

+155
-12
lines changed

.github/auto-assign-config.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Set to true to add reviewers to pull requests
2+
addReviewers: true
3+
4+
# Set to true to add assignees to pull requests
5+
addAssignees: author
6+
7+
# A list of reviewers to be added to pull requests (GitHub user name)
8+
reviewers:
9+
- iamwatchdogs
10+
11+
# A number of reviewers added to the pull request
12+
# Set 0 to add all the reviewers (default: 0)
13+
numberOfReviewers: 1
14+
15+
# A list of assignees, overrides reviewers if set
16+
# assignees:
17+
# - assigneeA
18+
19+
# A number of assignees to add to the pull request
20+
# Set to 0 to add all of the assignees.
21+
# Uses numberOfReviewers if unset.
22+
# numberOfAssignees: 2
23+
24+
# A list of keywords to be skipped the process that add reviewers if pull requests include it
25+
# skipKeywords:
26+
# - wip
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Auto Assign
2+
3+
on:
4+
pull_request:
5+
types: [opened, ready_for_review]
6+
issues:
7+
types: [opened]
8+
9+
jobs:
10+
auto-assign:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: kentaro-m/[email protected]
14+
with:
15+
configuration-path: '.github/auto-assign-config.yml'
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Auto-commenter
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
types: [closed]
7+
8+
permissions:
9+
id-token: write
10+
issues: write
11+
pull-requests: write
12+
13+
jobs:
14+
automated-message:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: wow-actions/auto-comment@v1
18+
with:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
21+
pullRequestOpened: |
22+
👋 @{{ author }}
23+
Thank you for raising your pull request.
24+
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
25+
26+
pullRequestClosed: >
27+
👋 @{{ author }} This PR is closed. If you think there's been a mistake, please contact with the maintainer @iamwatchdogs.
28+
29+
pullRequestMerged: |
30+
Thank you for contributing @{{ author }}, Make sure to check your contribution on [GitHub Pages](grow-with-open-source.github.io/Notebook/ "view contributions").

.github/workflows/auto-labeler.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: hacktoberfest-labeler
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened, closed]
6+
7+
jobs:
8+
auto-labeler:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check for hacktoberfest season
12+
id: check-month
13+
run: |
14+
current_month=$(date +'%m')
15+
if [ "$current_month" == "10" ]; then
16+
echo "is_october=true" >> $GITHUB_OUTPUT
17+
else
18+
echo "is_october=false" >> $GITHUB_OUTPUT
19+
fi
20+
21+
- name: Creating config file
22+
env:
23+
ACTION: ${{ github.event.action }}
24+
run: |
25+
touch ./hacktoberfest-labeler.yml
26+
27+
if [ "$ACTION" != "closed" ]; then
28+
echo "hacktoberfest:" > hacktoberfest-labeler.yml
29+
else
30+
echo "hacktoberfest-accepted:" > hacktoberfest-labeler.yml
31+
fi
32+
echo "- changed-files:" >> hacktoberfest-labeler.yml
33+
echo " - any-glob-to-any-file: '**'" >> hacktoberfest-labeler.yml
34+
35+
echo "Created the config file:"
36+
echo "------------------------"
37+
cat ./hacktoberfest-labeler.yml
38+
39+
- name: Label the PRs
40+
if: steps.check-month.outputs.is_october == 'true' ||
41+
github.event.pull_request.merged == 'true' &&
42+
contains(github.event.pull_request.labels.*.name, 'hacktoberfest')
43+
uses: actions/[email protected]
44+
with:
45+
configuration-path: ./hacktoberfest-labeler.yml

.github/workflows/stale.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: close-stale-issue-and-prs
2+
3+
on:
4+
schedule:
5+
- cron: '30 1 * * *'
6+
7+
permissions:
8+
contents: write
9+
issues: write
10+
pull-requests: write
11+
12+
jobs:
13+
stale:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/stale@v8
17+
with:
18+
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
19+
stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
20+
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
21+
close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.'
22+
days-before-issue-stale: 30
23+
days-before-pr-stale: 45
24+
days-before-issue-close: 5
25+
days-before-pr-close: 10

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ unique_key_value:
180180
```yml
181181
shamith_watchdogs:
182182
name: Shamith Nakka
183-
twitter: Shamith29188225
183+
twitter: shamith_nakka
184184
url: https://github.com/iamwatchdogs/
185185
```
186186
@@ -265,7 +265,7 @@ git branch
265265
git add .
266266
267267
# commiting the changes
268-
git commit -m "<related-short-message>
268+
git commit -m "<related-short-message>"
269269
```
270270

271271
> [!IMPORTANT]

_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ github:
3333
username: Grow-with-Open-Source # change to your github username
3434

3535
twitter:
36-
username: Shamith29188225 # change to your twitter username
36+
username: shamith_nakka # change to your twitter username
3737

3838
social:
3939
# Change to your full name.
@@ -43,7 +43,7 @@ social:
4343
links:
4444
# The first element serves as the copyright owner's link
4545
- https://github.com/Grow-with-Open-Source/
46-
- https://twitter.com/Shamith29188225 # change to your twitter homepage
46+
# - https://x.com/username # change to your twitter homepage
4747
- https://github.com/iamwatchdogs # change to your github homepage
4848
# Uncomment below to add more social links
4949
# - https://www.facebook.com/username

_data/authors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
shamith_watchdogs:
22
name: Shamith Nakka
3-
twitter: Shamith29188225
3+
twitter: shamith_nakka
44
url: https://github.com/iamwatchdogs/

_data/contact.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
icon: "fab fa-github"
55
url: 'https://github.com/Grow-with-Open-Source/Notebook'
66

7-
- type: twitter
8-
icon: "fa-brands fa-x-twitter"
9-
url: ''
7+
# - type: twitter
8+
# icon: "fa-brands fa-x-twitter"
9+
# url: ''
1010

1111
- type: email
1212
icon: "fas fa-envelope"
@@ -22,9 +22,9 @@
2222
# icon: 'fab fa-mastodon' # icons powered by <https://fontawesome.com/>
2323
# url: '' # Fill with your Mastodon account page, rel="me" will be applied for verification
2424
#
25-
# - type: linkedin
26-
# icon: 'fab fa-linkedin' # icons powered by <https://fontawesome.com/>
27-
# url: '' # Fill with your Linkedin homepage
25+
- type: linkedin
26+
icon: 'fab fa-linkedin' # icons powered by <https://fontawesome.com/>
27+
url: 'https://linkedin.com/company/grow-with-open-source' # Fill with your Linkedin homepage
2828
#
2929
# - type: stack-overflow
3030
# icon: 'fab fa-stack-overflow'

_sass/addon/commons.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ html {
2525
}
2626
}
2727

28-
font-size: 16px;
28+
& {
29+
font-size: 16px;
30+
}
2931
}
3032

3133
body {

0 commit comments

Comments
 (0)