Skip to content

Add shared workflow for checking existing PRs before creating duplicates#2175

Closed
Copilot wants to merge 4 commits intomainfrom
copilot/add-shared-agentic-workflow
Closed

Add shared workflow for checking existing PRs before creating duplicates#2175
Copilot wants to merge 4 commits intomainfrom
copilot/add-shared-agentic-workflow

Conversation

Copy link
Contributor

Copilot AI commented Oct 22, 2025

  • Reverted .github/workflows/shared/check-existing-pr.md per user request
  • Reverted pkg/workflow/check_existing_pr_import_test.go per user request
  • Reverted changes to .github/workflows/cli-version-checker.md to remove the import
  • Reverted changes to .github/workflows/cli-version-checker.lock.yml (compiled output)
  • Verified all tests pass
  • Verified cli-version-checker workflow compiles successfully
Original prompt

Add a shared agentic workflow that prompts the agent to look for an existing, open, pull request created by the current workflow. If the agent finds this workflow it prints a message that there is already pending pull request and stops.

  • configure github tools to search PRs
  • find a pattern and combination of labels that makes the search extremely effective

Use this share workflow with the cli version updater.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits October 22, 2025 22:31
…checker

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Add shared agentic workflow for PR check Add shared workflow for checking existing PRs before creating duplicates Oct 22, 2025
Copilot AI requested a review from pelikhan October 22, 2025 22:39
@@ -0,0 +1,105 @@
---
Copy link
Contributor

Choose a reason for hiding this comment

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

@copilot revert this file

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverted in commit 6a2590f. The file has been deleted and the changes to cli-version-checker.md have been reverted.

@@ -0,0 +1,186 @@
package workflow_test
Copy link
Contributor

Choose a reason for hiding this comment

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

@copilot revert this file

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverted in commit 6a2590f. The test file has been deleted.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan October 22, 2025 22:54
@pelikhan pelikhan closed this Oct 22, 2025
@pelikhan pelikhan deleted the copilot/add-shared-agentic-workflow branch October 22, 2025 22:56
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.

2 participants