| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
|
| |
| name: Stale |
| on: |
| |
| workflow_dispatch: |
|
|
| |
| |
| |
|
|
| env: |
| CLOSE_ISSUE_MESSAGE: > |
| This issue was closed because it has been stalled for 30 days with no activity. |
| Feel free to reopen if is still relevant, or to ping a collaborator if you have any questions. |
| CLOSE_PR_MESSAGE: > |
| This PR was closed because it has been stalled for 30 days with no activity. |
| Feel free to reopen if is still relevant, or to ping a collaborator if you have any questions. |
| WARN_ISSUE_MESSAGE: > |
| This issue has been automatically marked as stale because it has not had |
| recent activity (1 year). It will be closed if no further activity occurs. |
| Any change, comment or update to this issue will reset this count. |
| Thank you for your contributions. |
| WARN_PR_MESSAGE: > |
| This PR has been automatically marked as stale because it has not had |
| recent activity (1 year). It will be closed if no further activity occurs. |
| Any change, comment or update to this PR will reset this count. |
| Thank you for your contributions. |
| |
| jobs: |
| |
| stale: |
| name: Close Stale Issues and PRs |
| runs-on: ubuntu-latest |
| if: github.repository == 'huggingface/lerobot' |
| permissions: |
| actions: write |
| contents: write |
| issues: write |
| pull-requests: write |
| steps: |
| - uses: actions/stale@v10 |
| with: |
| repo-token: ${{ secrets.GITHUB_TOKEN }} |
| stale-issue-label: stale |
| stale-pr-label: stale |
| exempt-issue-labels: never-stale |
| exempt-pr-labels: never-stale |
| days-before-issue-stale: 365 |
| days-before-issue-close: 30 |
| days-before-pr-stale: 365 |
| days-before-pr-close: 30 |
| delete-branch: true |
| close-issue-message: ${{ env.CLOSE_ISSUE_MESSAGE }} |
| close-pr-message: ${{ env.CLOSE_PR_MESSAGE }} |
| stale-issue-message: ${{ env.WARN_ISSUE_MESSAGE }} |
| stale-pr-message: ${{ env.WARN_PR_MESSAGE }} |
| operations-per-run: 500 |
|
|