…ks (#2516)
## Summary
Adds a GitHub Actions workflow to automatically manage stale pull
requests by closing them after 4 weeks of inactivity, while respecting
PRs that have the `M-prevent-stale` label.
## Changes
- **New workflow**: `.github/workflows/stale.yaml`
- Runs daily at 02:00 UTC via cron schedule
- Can be manually triggered via `workflow_dispatch`
- Uses the official `actions/stale@v9` action
## Configuration
The workflow is configured to:
- **Only process pull requests** (not issues)
- **Mark PRs as stale** after 21 days of inactivity
- **Close stale PRs** after an additional 7 days (28 days total = 4
weeks)
- **Exempt PRs with `M-prevent-stale` label** from stale processing
- **Remove stale labels** when PRs become active again
- **Limit operations** to 30 per run to respect API rate limits
## Messages
Clear, informative messages are posted when:
- Marking a PR as stale (explains the process and how to prevent
closure)
- Closing a stale PR (explains how to reopen and prevent future closure)
## Permissions
The workflow has the minimal required permissions:
- `issues: write`
- `pull-requests: write`
This follows the repository's existing patterns for scheduled workflows
and maintains consistency with other GitHub Actions configurations.
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 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](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: refcell <21288394+refcell@users.noreply.github.com>
Description
Removed unnecessary
setProxyTargetfunction and replaced it withAddressManager.setAddressMetadata