Skip to content

Commit

Permalink
Updated skillshow
Browse files Browse the repository at this point in the history
  • Loading branch information
Kushal997-das committed Oct 8, 2024
1 parent c39edbf commit 9fa0a9b
Show file tree
Hide file tree
Showing 11 changed files with 44 additions and 46 deletions.
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ body:
attributes:
value: |
Thanks for taking the time to fill out this bug report! 🐞
Have you read the Contributing Guidelines? [Contributing Guidelines](https://github.com/Kushal997-das/Project-Guidance/blob/main/CONTRIBUTING.md)
- type: dropdown
attributes:
label: Initiative (Required)
Expand All @@ -22,13 +24,15 @@ body:
- "Other (please specify): _______________ ✏️"
validations:
required: true

- type: textarea
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
validations:
required: true

- type: dropdown
attributes:
label: Urgency (Optional)
Expand Down
15 changes: 2 additions & 13 deletions .github/ISSUE_TEMPLATE/custom.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
---
name: Custom issue template
about: Use this space to report custom or blank issues that don’t fit predefined categories.
Share your ideas, suggestions, or concerns to help us enhance the project!
title: Custom Issue Report
labels: ''
assignees: ''

---

# Project-Guidance! 🎊🎈
# SkillShow! 🎊🎈

### Welcome! πŸŽ‰
Thank you for opening an issue! Your contributions help us improve the project. If you find this repository useful, please consider giving it a star! ⭐

### πŸŽ‰ Have you reviewed the [Contributing Guidelines](https://github.com/Kushal997-das/Project-Guidance/blob/main/CONTRIBUTING.md)? πŸ€” *(Required)*
### πŸŽ‰ Have you reviewed the [Contributing Guidelines](https://github.com/Kushal997-das/SkillShow/blob/main/CONTRIBUTING.md)? πŸ€” *(Required)*

<!-- Please check the boxes that apply by replacing `[ ]` with `[x]`. -->
- [ ] YES
Expand Down Expand Up @@ -43,4 +33,3 @@ Thank you for opening an issue! Your contributions help us improve the project.
You can expect a response within [X days].
<!-- Please replace X with the exact number -->

Feel free to check back or provide more details if needed!
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body:
attributes:
value: >
Have you read the [Contributing
Guidelines](https://github.com/Kushal997-das/Project-Guidance/blob/main/CONTRIBUTING.md)?
Guidelines](https://github.com/Kushal997-das/SkillShow/blob/main/CONTRIBUTING.md)?
- type: dropdown
attributes:
label: Initiative (Required)
Expand Down
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ description: Request/Suggest any feature you think is missing
title: "Title: "
labels: "Feature Request"
body:
- type: markdown
attributes:
value: "Have you read the Contributing Guidelines? [Contributing Guidelines](https://github.com/Kushal997-das/SkillShow/blob/main/CONTRIBUTING.md)"

- type: dropdown # Initiative
attributes:
label: Initiative (Required)
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/proposal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body:
attributes:
value: >
Have you read the [Contributing
Guidelines](https://github.com/Kushal997-das/Project-Guidance/blob/main/CONTRIBUTING.md)?
Guidelines](https://github.com/Kushal997-das/SkillShow/blob/main/CONTRIBUTING.md)?
- type: dropdown
attributes:
label: Initiative (Required)
Expand Down
8 changes: 7 additions & 1 deletion .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ about: If you have questions, please check the below links
title: ""
labels: question
assignees: ""
initiatives:
body:
- type: markdown
attributes:
value: |
Have you read the Contributing Guidelines? [Contributing Guidelines](https://github.com/Kushal997-das/SkillShow/blob/main/CONTRIBUTING.md)
- type: dropdown
attributes:
label: Initiative (Required)
Expand All @@ -19,6 +24,7 @@ initiatives:
- "Other (please specify): _______________ ✏️"
validations:
required: true

contact_info:
email: daskushal980@gmail.com
github: https://github.com/Kushal997-das
Expand Down
1 change: 0 additions & 1 deletion .github/images/README.md

This file was deleted.

8 changes: 2 additions & 6 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# Project-Guidance! 🎊🎈
# SkillShow! 🎊🎈

### Welcome! πŸŽ‰

Thank you for visiting our repository! We're excited to have you here. If you find this project useful, please consider giving it a star! ⭐



### πŸŽ‰ Have you reviewed the [Contributing Guidelines](https://github.com/Kushal997-das/Project-Guidance/blob/main/CONTRIBUTING.md)? πŸ€” *(Required)*
### πŸŽ‰ Have you reviewed the [Contributing Guidelines](https://github.com/Kushal997-das/SkillShow/blob/main/CONTRIBUTING.md)? πŸ€” *(Required)*

<!-- Please check the boxes that apply by replacing `[ ]` with `[x]`. -->
- [ ] YES
Expand All @@ -33,5 +31,3 @@ This pull request is associated with the following initiative. Please choose the
- [ ] β›„ Winter of Blockchain (WoB)
- [ ] πŸ™‹β€β™‚οΈ Personal
- [ ] πŸ“Œ Other (please specify): _______________


2 changes: 1 addition & 1 deletion .github/workflows/auto-comment-on-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: |
COMMENT=$(cat <<EOF
{
"body": "@${{ github.actor }} <h3> It's great having you contribute to this project</h3> Thanks for opening this <strong> Issue πŸ™Œ </strong>, Welcome to <strong> Project Guidance πŸ’–</strong> We will review everything and get back to you.<br> Make sure to give a star to this repo before making a fork! Thank you :)"
"body": "@${{ github.actor }} <h3> It's great having you contribute to this project</h3> Thanks for opening this <strong> Issue πŸ™Œ </strong>, Welcome to <strong> SkillShow πŸ’–</strong> We will review everything and get back to you.<br> Make sure to give a star to this repo before making a fork! Thank you :)"
}
EOF
)
Expand Down
42 changes: 21 additions & 21 deletions .github/workflows/auto-comment-pr-raise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Add Comment to Pull Request
run: |
COMMENT=$(cat <<EOF
{
"body": "@${{ github.actor }} <h3>It's great having you contribute to this project</h3> Thank you for opening a <strong>Pull Request πŸ™Œ </strong>, Welcome to <strong>Project Guidance πŸ’– </strong> We will review everything and get back to you :) "
}
EOF
)
RESPONSE=$(curl -s -o response.json -w "%{http_code}" \
-X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments \
-d "$COMMENT")
cat response.json
if [ "$RESPONSE" -ne 201 ]; then
echo "Failed to add comment"
exit 1
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Add Comment to Pull Request
run: |
COMMENT=$(cat <<EOF
{
"body": "@${{ github.actor }} <h3>It's great having you contribute to this project</h3> Thank you for opening a <strong>Pull Request πŸ™Œ </strong>, Welcome to <strong>SkillShow πŸ’–</strong> We will review everything and get back to you :) "
}
EOF
)
RESPONSE=$(curl -s -o response.json -w "%{http_code}" \
-X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments \
-d "$COMMENT")
cat response.json
if [ "$RESPONSE" -ne 201 ]; then
echo "Failed to add comment"
exit 1
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
@${{ github.event.pull_request.user.login }} Hurray, your PR got merged into our Project-Guidance πŸ₯³. Thanks a bunch. Feel free to take another Issue. πŸ’–
@${{ github.event.pull_request.user.login }} Hurray, your PR got merged into our SkillShow πŸ₯³. Thanks a bunch. Feel free to take another Issue. πŸ’–

0 comments on commit 9fa0a9b

Please sign in to comment.