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

tooling: add dapr-bot - assign issue functionality #131

Merged
merged 8 commits into from
Mar 20, 2024
Merged

Conversation

mikeee
Copy link
Member

@mikeee mikeee commented Mar 4, 2024

Description

Added:

  • Simple rust app to process an issue comment (from the trigger context) and assign the issue to the commenting user located at .github/workflows/dapr-bot/*
  • New workflow dapr-bot
  • New workflow dapr-bot-test

The above has been tested on a live GitHub repo.

Usage:
To assign an issue to yourself, you can prefix the comment with /assign to trigger dapr-bot to assign the issue to yourself.
Example comment body:-

/assign

I have bandwidth to pick this up this week

Limitations:
The bot does not perform any validation on whether an issue is currently assigned to someone, the floor is open to any particular opinion. I think at this stage it would not make much sense to limit an issue to 1 assignee. Suppose a contributor drops off whilst assigned to an issue, another contributor should be able to assign themselves to an issue to indicate their intent to continue work on that issue.

TODOs (create issues after approval/merge):

  • Will need further investigation with regards to the potential caching or saving of a build artifact to speed the run up.
  • Docs issue to be created in dapr/docs on approval/merge

Issue reference

This PR will close #107

Checklist

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@mikeee mikeee requested review from a team as code owners March 4, 2024 10:24
Copy link
Member Author

@mikeee mikeee left a comment

Choose a reason for hiding this comment

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

Needs a symlink to the license file

- ".github/workflows/dapr-bot/*"
pull_request:
branches:
- master
Copy link
Member Author

Choose a reason for hiding this comment

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

rename to main

@mikeee mikeee merged commit 90f07be into dapr:main Mar 20, 2024
13 checks passed
@mikeee mikeee deleted the dapr-bot branch March 20, 2024 11:39
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.

Add Ability For Users to Self-Assign Issues
1 participant