Skip to content

Commit

Permalink
Minor Update
Browse files Browse the repository at this point in the history
Merge pull request #10 from iamwatchdogs/minor-update
  • Loading branch information
iamwatchdogs authored Oct 17, 2024
2 parents 499eb97 + d296272 commit 5bc3f94
Show file tree
Hide file tree
Showing 10 changed files with 155 additions and 12 deletions.
26 changes: 26 additions & 0 deletions .github/auto-assign-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Set to true to add reviewers to pull requests
addReviewers: true

# Set to true to add assignees to pull requests
addAssignees: author

# A list of reviewers to be added to pull requests (GitHub user name)
reviewers:
- iamwatchdogs

# A number of reviewers added to the pull request
# Set 0 to add all the reviewers (default: 0)
numberOfReviewers: 1

# A list of assignees, overrides reviewers if set
# assignees:
# - assigneeA

# A number of assignees to add to the pull request
# Set to 0 to add all of the assignees.
# Uses numberOfReviewers if unset.
# numberOfAssignees: 2

# A list of keywords to be skipped the process that add reviewers if pull requests include it
# skipKeywords:
# - wip
15 changes: 15 additions & 0 deletions .github/workflows/auto-assigner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Auto Assign

on:
pull_request:
types: [opened, ready_for_review]
issues:
types: [opened]

jobs:
auto-assign:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/auto-assign-action@v1.2.5
with:
configuration-path: '.github/auto-assign-config.yml'
30 changes: 30 additions & 0 deletions .github/workflows/auto-commentor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Auto-commenter

on:
pull_request:
branches: [main]
types: [closed]

permissions:
id-token: write
issues: write
pull-requests: write

jobs:
automated-message:
runs-on: ubuntu-latest
steps:
- uses: wow-actions/auto-comment@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pullRequestOpened: |
👋 @{{ author }}
Thank you for raising your pull request.
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
pullRequestClosed: >
👋 @{{ author }} This PR is closed. If you think there's been a mistake, please contact with the maintainer @iamwatchdogs.
pullRequestMerged: |
Thank you for contributing @{{ author }}, Make sure to check your contribution on [GitHub Pages](grow-with-open-source.github.io/Notebook/ "view contributions").
45 changes: 45 additions & 0 deletions .github/workflows/auto-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: hacktoberfest-labeler

on:
pull_request:
types: [opened, reopened, closed]

jobs:
auto-labeler:
runs-on: ubuntu-latest
steps:
- name: Check for hacktoberfest season
id: check-month
run: |
current_month=$(date +'%m')
if [ "$current_month" == "10" ]; then
echo "is_october=true" >> $GITHUB_OUTPUT
else
echo "is_october=false" >> $GITHUB_OUTPUT
fi
- name: Creating config file
env:
ACTION: ${{ github.event.action }}
run: |
touch ./hacktoberfest-labeler.yml
if [ "$ACTION" != "closed" ]; then
echo "hacktoberfest:" > hacktoberfest-labeler.yml
else
echo "hacktoberfest-accepted:" > hacktoberfest-labeler.yml
fi
echo "- changed-files:" >> hacktoberfest-labeler.yml
echo " - any-glob-to-any-file: '**'" >> hacktoberfest-labeler.yml
echo "Created the config file:"
echo "------------------------"
cat ./hacktoberfest-labeler.yml
- name: Label the PRs
if: steps.check-month.outputs.is_october == 'true' ||
github.event.pull_request.merged == 'true' &&
contains(github.event.pull_request.labels.*.name, 'hacktoberfest')
uses: actions/labeler@v5.0.0
with:
configuration-path: ./hacktoberfest-labeler.yml
25 changes: 25 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: close-stale-issue-and-prs

on:
schedule:
- cron: '30 1 * * *'

permissions:
contents: write
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
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.'
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.'
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.'
days-before-issue-stale: 30
days-before-pr-stale: 45
days-before-issue-close: 5
days-before-pr-close: 10
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ unique_key_value:
```yml
shamith_watchdogs:
name: Shamith Nakka
twitter: Shamith29188225
twitter: shamith_nakka
url: https://github.com/iamwatchdogs/
```
Expand Down Expand Up @@ -265,7 +265,7 @@ git branch
git add .
# commiting the changes
git commit -m "<related-short-message>
git commit -m "<related-short-message>"
```

> [!IMPORTANT]
Expand Down
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ github:
username: Grow-with-Open-Source # change to your github username

twitter:
username: Shamith29188225 # change to your twitter username
username: shamith_nakka # change to your twitter username

social:
# Change to your full name.
Expand All @@ -43,7 +43,7 @@ social:
links:
# The first element serves as the copyright owner's link
- https://github.com/Grow-with-Open-Source/
- https://twitter.com/Shamith29188225 # change to your twitter homepage
# - https://x.com/username # change to your twitter homepage
- https://github.com/iamwatchdogs # change to your github homepage
# Uncomment below to add more social links
# - https://www.facebook.com/username
Expand Down
2 changes: 1 addition & 1 deletion _data/authors.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
shamith_watchdogs:
name: Shamith Nakka
twitter: Shamith29188225
twitter: shamith_nakka
url: https://github.com/iamwatchdogs/
12 changes: 6 additions & 6 deletions _data/contact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
icon: "fab fa-github"
url: 'https://github.com/Grow-with-Open-Source/Notebook'

- type: twitter
icon: "fa-brands fa-x-twitter"
url: ''
# - type: twitter
# icon: "fa-brands fa-x-twitter"
# url: ''

- type: email
icon: "fas fa-envelope"
Expand All @@ -22,9 +22,9 @@
# icon: 'fab fa-mastodon' # icons powered by <https://fontawesome.com/>
# url: '' # Fill with your Mastodon account page, rel="me" will be applied for verification
#
# - type: linkedin
# icon: 'fab fa-linkedin' # icons powered by <https://fontawesome.com/>
# url: '' # Fill with your Linkedin homepage
- type: linkedin
icon: 'fab fa-linkedin' # icons powered by <https://fontawesome.com/>
url: 'https://linkedin.com/company/grow-with-open-source' # Fill with your Linkedin homepage
#
# - type: stack-overflow
# icon: 'fab fa-stack-overflow'
Expand Down
4 changes: 3 additions & 1 deletion _sass/addon/commons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ html {
}
}

font-size: 16px;
& {
font-size: 16px;
}
}

body {
Expand Down

0 comments on commit 5bc3f94

Please sign in to comment.