-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Add .github with workflows and templates
- Loading branch information
1 parent
9da9d6a
commit 719e5da
Showing
9 changed files
with
173 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
github: [Pradumnasaraf] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: 🐛 Bug | ||
description: Report an issue to help improve the project. | ||
title: "[BUG] <description>" | ||
labels: ["bug"] | ||
body: | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description | ||
description: A brief description of the question or issue, also include what you tried and what didn't work | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: screenshots | ||
attributes: | ||
label: Screenshots | ||
description: Please add screenshots if applicable | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
blank_issues_enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: 📄 Documentation issue | ||
description: Found an issue in the documentation? You can use this one! | ||
title: "[DOCS] <description>" | ||
labels: ["documentation"] | ||
body: | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description | ||
description: Description of the question or issue, also include what you tried and what didn't work | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: screenshots | ||
attributes: | ||
label: Screenshots | ||
description: Screenshots if applicable | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: 💡 General Feature Request | ||
description: Have a new idea/feature? Please suggest! | ||
title: "[FEATURE] <description>" | ||
labels: ["feature"] | ||
body: | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description | ||
description: Description of the enhancement you propose, also include what you tried and what worked. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: screenshots | ||
attributes: | ||
label: Screenshots | ||
description: Screenshots if applicable | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: ❗ Other | ||
description: Use this for any other issues. Please do NOT create blank issues | ||
title: "[OTHER] <description>" | ||
labels: ["other"] | ||
body: | ||
- type: textarea | ||
id: issuedescription | ||
attributes: | ||
label: What would you like to share? | ||
description: Provide a clear and concise explanation of your issue. | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!-- If your PR fixes an open issue, use `Closes #101` to link your PR with the issue. #101 stands for the issue number you are fixing --> | ||
|
||
## 🛠️ Fixes Issue | ||
|
||
<!-- Remove this section if not applicable --> | ||
|
||
<!-- Example: Closes #31 --> | ||
|
||
## 👨💻 Changes proposed | ||
|
||
<!-- List all the proposed changes in your PR --> | ||
|
||
## ✔️ Check List (Check all the applicable boxes) <!-- Follow the below conventions to check the box --> | ||
|
||
<!-- Mark all the applicable boxes. To mark the box as done follow the following conventions --> | ||
<!-- | ||
[x] - Correct; marked as done | ||
[ ] - Not correct; marked as **not** done | ||
--> | ||
|
||
- [ ] My code follows the code style of this project. | ||
- [ ] This PR does not contain plagiarized content. | ||
- [ ] The title of my pull request is a short description of the requested changes. | ||
|
||
## 📄 Note to reviewers | ||
|
||
<!-- Add notes to reviewers if applicable --> | ||
|
||
## 📷 Screenshots |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name : Greetings | ||
|
||
on: | ||
fork: | ||
push: | ||
branches: [main] | ||
issues: | ||
types: [opened] | ||
issue_comment: | ||
types: [created] | ||
pull_request_target: | ||
types: [opened] | ||
pull_request_review_comment: | ||
types: [created] | ||
|
||
jobs: | ||
welcome: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: EddieHubCommunity/gh-action-community/src/welcome@main | ||
with: | ||
github-token: ${{ secrets.github_token }} | ||
issue-message: "<h3>Hey! contributor, thank you for opening an Issue 🎉.</h3>" | ||
pr-message: "<h3>Hey! contributor, thank you for opening a Pull Request 🎉.</h3>" | ||
footer: "Soon one of our maintainers will review it and provide you with feedback/suggestions. If you think it's something urgent, feel free to reach out <a href='https://twitter.com/home'>Pradumna Saraf</a> on <b>Twitter</b>. Star ⭐ this repo to show us support.</b><br><br><b>Happy, Open Source!</b>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: GoReleaser | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
create-tag: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: conventional Changelog Action | ||
id: changelog | ||
uses: TriPSs/conventional-changelog-action@v3 | ||
with: | ||
github-token: ${{ secrets.PA_TOKEN }} | ||
output-file: "false" | ||
skip-commit: "true" | ||
|
||
outputs: | ||
tag: ${{ steps.changelog.outputs.tag }} | ||
|
||
goreleasers: | ||
runs-on: ubuntu-latest | ||
needs: create-tag | ||
# only run if the tag is not empty | ||
if: ${{ needs.create-tag.outputs.tag != '' }} | ||
steps: | ||
|
||
- name: Checkout the repo | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
|
||
- name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v4 | ||
with: | ||
distribution: goreleaser | ||
version: latest | ||
args: release --clean | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |