diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..4631ab0 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: [Pradumnasaraf] diff --git a/.github/ISSUE_TEMPLATE/bug.yaml b/.github/ISSUE_TEMPLATE/bug.yaml new file mode 100644 index 0000000..21d28e0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yaml @@ -0,0 +1,19 @@ +name: 🐛 Bug +description: Report an issue to help improve the project. +title: "[BUG] " +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 diff --git a/.github/ISSUE_TEMPLATE/config.yaml b/.github/ISSUE_TEMPLATE/config.yaml new file mode 100644 index 0000000..3ba13e0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yaml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/doc_issue.yaml b/.github/ISSUE_TEMPLATE/doc_issue.yaml new file mode 100644 index 0000000..04add51 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/doc_issue.yaml @@ -0,0 +1,19 @@ +name: 📄 Documentation issue +description: Found an issue in the documentation? You can use this one! +title: "[DOCS] " +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 diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..a6a691e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,19 @@ +name: 💡 General Feature Request +description: Have a new idea/feature? Please suggest! +title: "[FEATURE] " +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 diff --git a/.github/ISSUE_TEMPLATE/other.yaml b/.github/ISSUE_TEMPLATE/other.yaml new file mode 100644 index 0000000..46e123a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/other.yaml @@ -0,0 +1,12 @@ +name: ❗ Other +description: Use this for any other issues. Please do NOT create blank issues +title: "[OTHER] " +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 diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..299264d --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,29 @@ + + +## 🛠️ Fixes Issue + + + + + +## 👨‍💻 Changes proposed + + + +## ✔️ Check List (Check all the applicable boxes) + + + + +- [ ] 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 + + + +## 📷 Screenshots diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 0000000..4085946 --- /dev/null +++ b/.github/workflows/greetings.yml @@ -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: "

Hey! contributor, thank you for opening an Issue 🎉.

" + pr-message: "

Hey! contributor, thank you for opening a Pull Request 🎉.

" + 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 Pradumna Saraf on Twitter. Star ⭐ this repo to show us support.

Happy, Open Source!" \ No newline at end of file diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml new file mode 100644 index 0000000..f1bba2a --- /dev/null +++ b/.github/workflows/releases.yml @@ -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 }}