diff --git a/.github/workflows/auto-comment-issue.yml b/.github/workflows/auto-comment-issue.yml new file mode 100644 index 0000000..a372b7a --- /dev/null +++ b/.github/workflows/auto-comment-issue.yml @@ -0,0 +1,31 @@ +name: Issue Opened and Closed Comment + +on: + issues: + types: [opened, closed] + +jobs: + comment-on-issue: + runs-on: ubuntu-latest + + steps: + - name: Check out the repository + uses: actions/checkout@v2 + + - name: Comment on Issue Opened + if: ${{ github.event.action == 'opened' }} + uses: actions-ecosystem/action-create-comment@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + issue_number: ${{ github.event.issue.number }} + body: | + Thanks for opening this issue! We appreciate your contribution. Please make sure you’ve provided all the necessary details and screenshots, and don't forget to follow our [Guidelines](https://github.com/OWNER/REPO/CONTRIBUTING.md) and Code of Conduct. Happy coding! 🚀 + + - name: Comment on Issue Closed + if: ${{ github.event.action == 'closed' }} + uses: actions-ecosystem/action-create-comment@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + issue_number: ${{ github.event.issue.number }} + body: | + This issue has been successfully closed. Thank you for your contribution and helping us improve the project! If you have any more ideas or run into other issues, feel free to open a new one. Happy coding! 🚀 diff --git a/.github/workflows/auto-label.yml b/.github/workflows/auto-label.yml new file mode 100644 index 0000000..8e43a93 --- /dev/null +++ b/.github/workflows/auto-label.yml @@ -0,0 +1,22 @@ +name: Auto-label Issues and Pull Requests + +on: + issues: + types: [opened] + pull_request: + types: [opened] + +jobs: + add-labels: + runs-on: ubuntu-latest + + steps: + - name: Check out the repository + uses: actions/checkout@v2 + + - name: Add Labels to Issue or Pull Request + uses: actions-ecosystem/action-add-labels@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + labels: "gssoc-ext, hacktoberfest-accepted" + issue_number: ${{ github.event.issue.number || github.event.pull_request.number }} diff --git a/Feedback.html b/Feedback.html index ac69f5e..0cffd47 100644 --- a/Feedback.html +++ b/Feedback.html @@ -20,111 +20,95 @@ z-index: 99999999; transition: transform 0.1s ease-out; } - + /* Back to Home button */ + .home-button { + position: fixed; + top: 20px; + left: 20px; + padding: 10px 20px; + background-color: #f89d63; + color: white; + border: none; + border-radius: 5px; + font-size: 1em; + font-family: Arial, sans-serif; + cursor: pointer; + z-index: 1000; + text-decoration: none; + display: inline-block; + transition: background-color 0.3s ease; + } + + .home-button:hover { + background-color: #d1525c; + } + + /* Feedback Form styles */ + .feedback-container { + margin-top: 60px; /* Avoid overlap with the home button */ + } +
+ + Back to Home + - - - - - - - - - - - - - - - - - - - + +