diff --git a/.github/auto-assign-config.yml b/.github/auto-assign-config.yml new file mode 100644 index 0000000..b3d46a4 --- /dev/null +++ b/.github/auto-assign-config.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/auto-assigner.yml b/.github/workflows/auto-assigner.yml new file mode 100644 index 0000000..7c6c608 --- /dev/null +++ b/.github/workflows/auto-assigner.yml @@ -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' \ No newline at end of file diff --git a/.github/workflows/auto-commentor.yml b/.github/workflows/auto-commentor.yml new file mode 100644 index 0000000..f5415c5 --- /dev/null +++ b/.github/workflows/auto-commentor.yml @@ -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"). diff --git a/.github/workflows/auto-labeler.yml b/.github/workflows/auto-labeler.yml new file mode 100644 index 0000000..7b38273 --- /dev/null +++ b/.github/workflows/auto-labeler.yml @@ -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 diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..fc66c4b --- /dev/null +++ b/.github/workflows/stale.yml @@ -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 \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d2afb34..3b23875 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -180,7 +180,7 @@ unique_key_value: ```yml shamith_watchdogs: name: Shamith Nakka - twitter: Shamith29188225 + twitter: shamith_nakka url: https://github.com/iamwatchdogs/ ``` @@ -265,7 +265,7 @@ git branch git add . # commiting the changes -git commit -m " +git commit -m "" ``` > [!IMPORTANT] diff --git a/_config.yml b/_config.yml index 7aa003a..56336b6 100644 --- a/_config.yml +++ b/_config.yml @@ -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. @@ -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 diff --git a/_data/authors.yml b/_data/authors.yml index b3bccc0..43e8709 100644 --- a/_data/authors.yml +++ b/_data/authors.yml @@ -1,4 +1,4 @@ shamith_watchdogs: name: Shamith Nakka - twitter: Shamith29188225 + twitter: shamith_nakka url: https://github.com/iamwatchdogs/ \ No newline at end of file diff --git a/_data/contact.yml b/_data/contact.yml index 14d7792..2ac8325 100644 --- a/_data/contact.yml +++ b/_data/contact.yml @@ -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" @@ -22,9 +22,9 @@ # icon: 'fab fa-mastodon' # icons powered by # url: '' # Fill with your Mastodon account page, rel="me" will be applied for verification # -# - type: linkedin -# icon: 'fab fa-linkedin' # icons powered by -# url: '' # Fill with your Linkedin homepage +- type: linkedin + icon: 'fab fa-linkedin' # icons powered by + url: 'https://linkedin.com/company/grow-with-open-source' # Fill with your Linkedin homepage # # - type: stack-overflow # icon: 'fab fa-stack-overflow' diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index c80d412..3e6901a 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -25,7 +25,9 @@ html { } } - font-size: 16px; + & { + font-size: 16px; + } } body {