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

Add Repo Automator GH Action #681

Merged
merged 1 commit into from
Feb 5, 2024
Merged

Add Repo Automator GH Action #681

merged 1 commit into from
Feb 5, 2024

Conversation

iamdharmesh
Copy link
Member

@iamdharmesh iamdharmesh commented Feb 2, 2024

Description of the Change

PR adds Repo Automator GH Action to help automate common repo operations listed here

How to test the Change

  1. Validate "Repo Automator" check is pass if the PR description is valid
  2. Ensure PR gets auto-assigned to PR author, milestone auto-added and code- review label gets auto-added.

Changelog Entry

Added - Repo Automator GH Action to automate repo operations.

Credits

Props @iamdharmesh

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@iamdharmesh iamdharmesh requested a review from jeffpaul as a code owner February 2, 2024 12:05
@github-actions github-actions bot added this to the 3.0.0 milestone Feb 2, 2024
@github-actions github-actions bot added the needs:code-review This requires code review. label Feb 2, 2024
@iamdharmesh iamdharmesh requested a review from dkotter February 2, 2024 12:12
Comment on lines +6 to +8
push:
branches:
- develop
Copy link
Collaborator

Choose a reason for hiding this comment

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

Curious if there's any benefit to running this when changes are merged into develop? Seems like this action is for Issues and PRs so doesn't seem like this would be needed.

Copy link
Member Author

Choose a reason for hiding this comment

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

@dkotter Yes, Action is for handling issues and PRs, but it also identifies potential merge conflicts with PR branches. So, essentially, it is related to PRs, but we need to trigger this on the push to the develop branch to check potential merge conflicts and auto-label/auto-comment PRs with merge conflicts.

Action internally handle operations based on the trigger. So, it will only run the merge conflicts check when trigger is push to develop and PR/Issue related check will be skipped.

Please let me know if you need any further information on this.

@dkotter dkotter merged commit d553b45 into develop Feb 5, 2024
14 checks passed
@dkotter dkotter deleted the add/repo-automator branch February 5, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:code-review This requires code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants