Skip to content

feat: open thread when a new pr is published#207

Open
joset98 wants to merge 3 commits intodevfrom
feat/open-pr-thread
Open

feat: open thread when a new pr is published#207
joset98 wants to merge 3 commits intodevfrom
feat/open-pr-thread

Conversation

@joset98
Copy link
Collaborator

@joset98 joset98 commented Apr 7, 2025

Description

Automatically create Discord thread for new PRs published. This PR addresses the need for manual Discord thread creation for each new pull request. It implements an automated process to create a thread with the branch name as its title in the designated channel. The thread will be automatically set to the 'Request Review' status. This enhancement simplifies the workflow, ensuring a dedicated discussion space for each review request right from the start.

Type of change

  • new feature (non-breaking change which add functionality)

Checklist

This issue can be closed when the following tasks are complete:

  • Run project without errors.
  • Run commands without errors.
  • New feature is working fine

How to test

  1. Run the project
  2. Do the right configs to connect Github with discord
  3. Make a PR
  4. Check the bot response

Screenshots

image

@joset98 joset98 self-assigned this Apr 7, 2025
@joset98 joset98 linked an issue Apr 7, 2025 that may be closed by this pull request
Copy link
Contributor

@Israel-Laguan Israel-Laguan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'template title' sounds weird, also not sure if it needs to be translated?

@joset98
Copy link
Collaborator Author

joset98 commented Apr 7, 2025

'template title' sounds weird, also not sure if it needs to be translated?

What default title do you propose?

@Israel-Laguan
Copy link
Contributor

'template title' sounds weird, also not sure if it needs to be translated?

What default title do you propose?

What about "New Pull Request"

@heliomar-pena
Copy link
Contributor

'template title' sounds weird, also not sure if it needs to be translated?

What default title do you propose?

What about "New Pull Request"

What abourt: ${username}: New Pull Request? or using the pull request ID that I think it's in the scope of that function

@joset98 joset98 requested a review from Israel-Laguan April 8, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Thread after creating PR based on github webhook

3 participants