Skip to content

Commit dc5e7b1

Browse files
committed
2 parents 8b9973c + 6e8d5f4 commit dc5e7b1

File tree

272 files changed

+17195
-73
lines changed

Some content is hidden

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

272 files changed

+17195
-73
lines changed

.github/workflows/checker.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: PR has a valid Issue?
2+
3+
on:
4+
pull_request_target:
5+
types: [ edited, synchronize, opened, reopened ]
6+
7+
jobs:
8+
checker:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Issue Validator
15+
uses: HarshCasper/[email protected]
16+
id: validator
17+
with:
18+
prbody: ${{ github.event.pull_request.body }}
19+
prurl: ${{ github.event.pull_request.url }}
20+
21+
- name: PR has a valid Issue
22+
if: ${{ steps.validator.outputs.valid == 1 }}
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
PRNUM: ${{ github.event.pull_request.number }}
26+
run: |
27+
gh pr edit $PRNUM --add-label "PR:Ready-to-Review"
28+
gh pr edit $PRNUM --add-label "hacktoberfest-accepted"
29+
gh pr edit $PRNUM --remove-label "PR:No-Issue"
30+
31+
- name: PR has no valid Issue
32+
if: ${{ steps.validator.outputs.valid == 0 }}
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
PRNUM: ${{ github.event.pull_request.number }}
36+
run: |
37+
gh pr comment $PRNUM --body "PR is not linked to any issue, please make the corresponding changes in the body."
38+
gh pr edit $PRNUM --add-label "PR:No-Issue"

.github/workflows/greetings.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,26 @@ jobs:
1717
issue-message: |
1818
Thank you for opening your first issue in our repository, one of our maintainers will get in touch with you soon.
1919
20+
*PLEASE DON'T FORGET TO ADD YOUR EMAIL USING THE AUTH LINK*
21+
2022
We at Metafy have some special rewards and swags for the top contributors in general repos and every contributor in web3 repos
2123
For being eligible for that, please authenticate yourself using this link:
22-
https://hacktoberfest.auth.metafy.social
24+
https://metafy.social/signup
2325
2426
Rewards : T-shirts & NFT ( for blockchain contributions )
2527
2628
Best of luck on your Contributions
2729
For further queries you can join our discord for support : https://discord.gg/W6PmEjjQsA
2830
pr-message: |
2931
Thank you for opening your first pull request in our repository, one of our maintainers will get in touch with you soon.
30-
32+
33+
*PLEASE DON'T FORGET TO ADD YOUR EMAIL USING THE AUTH LINK*
34+
3135
We at Metafy have some special rewards and swags for the top contributors in general repos and every contributor in web3 repos
3236
For being eligible for that, please authenticate yourself using this link:
33-
https://hacktoberfest.auth.metafy.social
37+
https://metafy.social/signup
3438
3539
Rewards : T-shirts & NFT ( for blockchain contributions )
3640
3741
Best of luck on your Contributions
38-
For further queries you can join our discord for support : https://discord.gg/W6PmEjjQsA
42+
For further queries you can join our discord for support : https://discord.gg/W6PmEjjQsA

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,5 @@ dmypy.json
127127

128128
# Pyre type checker
129129
.pyre/
130+
131+
.idea

HACKTOBERFEST.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ You can sign up anytime between October 1 and October 31. Just be sure to sign u
2929
* Pull requests that are disruptive e.g. taking someone else's branch/commits and making a pull request.
3030
* Pull requests that are regarded by a project maintainer as a hindrance vs. helping.
3131
* Something that's clearly an attempt to simply +1 your pull request count for October.
32-
* Last but not least, one pull request to fix a typo is fine, but 5 pull requests to remove a stray whitespace is not.
32+
3333

3434
### Note
3535

36-
**A pull request is considered approved once it has an overall approving review from maintainers, or has been merged by maintainers, or has been given the 'hacktoberfest-accepted' label. A pull request with any label containing the word 'spam' or 'invalid' will be considered ineligible for Hacktoberfest.**
36+
**A pull request is considered approved once it has an overall approving review from maintainers, or has been merged by maintainers, or has been given the 'hacktoberfest-accepted' label. A pull request with any label containing the word 'spam' or 'invalid' will be considered ineligible for Hacktoberfest.**

0 commit comments

Comments
 (0)