From ec56658217de3c4544fb9c5fdc20cc1be462caed Mon Sep 17 00:00:00 2001 From: HARSH RAJENDRA UPADHYE <89975347+Harshu467@users.noreply.github.com> Date: Sat, 3 Jun 2023 13:28:38 +0530 Subject: [PATCH 1/3] Create main.yml Added Auto Comment Feature to Improve Collaboration --- .github/workflows/main.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..f1db764 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,32 @@ +name: Auto Comment + +on: + issues: + types: [opened, closed, assigned, unassigned] + pull_request: + types: [opened] + +jobs: + auto-comment: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Auto Comment + uses: wow-actions/auto-comment@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + issue-body: | + Thank you, @${{ github.event.sender.login }}, for opening this issue! Could you please provide additional context or details about the problem you're facing? + pr-body: | + Hi, @${{ github.event.sender.login }}! We appreciate your pull request. Before we proceed, please make sure to review and follow our contributing guidelines. + closed-issue-body: | + Thank you, @${{ github.event.sender.login }}, for your contribution! We appreciate your effort. If you have any further questions or would like to contribute more, feel free to reach out. + assigned-issue-body: | + Hi, @${{ github.event.issue.assignee.login }}! This issue has been assigned to you. We look forward to your work on it. + unassigned-issue-body: | + Hi, @${{ github.event.issue.assignee.login }}! This issue has been unassigned from you. If you're unavailable, please let us know, and we can reassign it to someone else. + From b5fafe0266d8fffed7b3430483406a5965490735 Mon Sep 17 00:00:00 2001 From: Harsh Upadhye Date: Mon, 5 Jun 2023 22:45:00 +0530 Subject: [PATCH 2/3] Updated Readme --- README.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/README.md b/README.md index 053af67..1fb90ac 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,40 @@ This repository hosts scripts written in bash and python to automate common Git/
+# My Awesome Project + +Welcome to My Awesome Project! This project aims to improve collaboration and communication among contributors. + +## Auto-Comment Feature + +The auto-comment feature has been implemented to enhance collaboration and streamline communication within the project. It automatically generates comments in response to specific events, providing acknowledgements, instructions, and reminders. Here's how the auto-comment feature works: + +- When an issue is opened, an auto-comment is posted to greet the author and request additional context. +- When a pull request is opened, an auto-comment expresses gratitude and reminds the author to follow the project's contributing guidelines. +- When an issue is closed, an auto-comment thanks the author for their contribution and encourages further engagement. +- When an issue is assigned, an auto-comment notifies the assignee and encourages them to start working on it. +- When an issue is unassigned, an auto-comment notifies the assignee about the change and suggests reassignment if they are offline. + +These auto-comments aim to improve communication, provide clear instructions, and reduce manual effort by automating comment generation. + +## Getting Started + +To get started with My Awesome Project, follow these steps: + +1. Clone the repository: `git clone https://github.com/your-username/my-awesome-project.git` +2. Install the dependencies: `npm install` +3. Run the project: `npm start` + +Feel free to explore the code, contribute, and engage with the community! + +## New Features + +- Auto-comment feature implemented: This feature automatically generates comments in response to specific events, improving collaboration and communication within the project. + +We hope you find the auto-comment feature helpful and enjoy contributing to My Awesome Project. If you have any questions or need assistance, don't hesitate to reach out to us. + +Happy coding! + ## Table of Content - [Tech](#tech) - [Installation](#installation) From 2f5272c1c8992d202f27a36f3eeb8ae79d83e1d9 Mon Sep 17 00:00:00 2001 From: Harsh Upadhye Date: Wed, 5 Jul 2023 17:16:40 +0530 Subject: [PATCH 3/3] Updated --- .github/workflows/{main.yml => auto_comment.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{main.yml => auto_comment.yml} (100%) diff --git a/.github/workflows/main.yml b/.github/workflows/auto_comment.yml similarity index 100% rename from .github/workflows/main.yml rename to .github/workflows/auto_comment.yml