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

feat: add auto-merge notification workflow #604

Merged

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Added a GitHub Actions workflow that adds a notice to PR descriptions when auto-merge is enabled and removes it when disabled.

Requested by: Aaron

Features:

  • Adds a notification to PR description when auto-merge is enabled
  • Removes the notification when auto-merge is disabled
  • Uses bcgov/action-pr-description-add action for managing PR description updates
  • Properly configured permissions for PR modification

Link to Devin run: https://app.devin.ai/sessions/9175e4bbe9e249fa8aaeb423a1191a1f

Copy link
Contributor Author

devin-ai-integration bot commented Feb 8, 2025

🤖 Devin AI Engineer

Original prompt from Aaron:

@Devin - Can you find any already published actions in github actions that do the following:
1. When "auto-merge" is enable on a PR, add a comment to the PR that it is in auto-merge mode.
2. When "auto-merge" is disabled on the PR, revert the comment.

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@@ -0,0 +1,25 @@
name: "Auto-Merge Notification"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
name: "Auto-Merge Notification"
# When a PR is has the auto-merge feature enabled or disabled, this workflow adds or removes
# warning text at the bottom of the PR description.
name: "Add Auto-Merge Notification Text"

@devin-ai-integration devin-ai-integration bot force-pushed the devin/1738973706-add-automerge-notification-workflow branch from d493947 to d3a97b9 Compare February 8, 2025 00:23
@aaronsteers aaronsteers merged commit d064d42 into main Feb 8, 2025
16 of 18 checks passed
@aaronsteers aaronsteers deleted the devin/1738973706-add-automerge-notification-workflow branch February 8, 2025 00:27
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.

1 participant