Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPEN-37 Add new command, schedule and PR functionality #1

Closed
wants to merge 28 commits into from
Closed

OPEN-37 Add new command, schedule and PR functionality #1

wants to merge 28 commits into from

Conversation

jmetrikat
Copy link
Member


  • I understand that contributing to this repository will require me to agree with the CLA

Description

This PR implements the following state machine triggered by:

Commands to the bot

  • “@any assign me”: works only for “New” issues, changes status to “In progress”, assignes @any-association to the issue, saves comment’s author name to “Lead contributor”

  • “@any unassign me”: works only for “In progress” issues, changes status to “New”, removes assignee, removes the content of “Lead contributor”

Timer, works only for “In progress” issues

  • on the 6th day of inactivity in the issue posts a comment with the message “@{lead-contributor}, please confirm that you’re still working on this by commenting this issue”

  • on the 7th day of inactivity in the issues posts a comment with the message “@{lead-contributor}, the issue is now available for other contributors due to inactivity”, changes status to “New”, removes assignee, removes the content of “Lead contributor”

Events related to PRs

  • works only for “In progress” issues, if PR is linked, then changes status to “In review”

  • works only for “In review” issues, if PR is unlinked, then changes status to “In progress”

  • works only for “In review” issues, if PR is closed without merging, then changes status to “In progress”

  • works only for “In review” issues, if PR is merged, then changes status to “Done”

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📜 README.md
  • 📓 tech-docs
  • 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

.github/workflows/stale-issues.yml Outdated Show resolved Hide resolved
src/graphql.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
@jmetrikat jmetrikat changed the title Add new command, schedule and PR functionality OPEN-36 Add new command, schedule and PR functionality Mar 18, 2024
@jmetrikat jmetrikat changed the title OPEN-36 Add new command, schedule and PR functionality OPEN-37 Add new command, schedule and PR functionality Mar 18, 2024
@jmetrikat jmetrikat marked this pull request as ready for review March 18, 2024 12:32
@jmetrikat jmetrikat closed this May 29, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants