Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Update manage-stale-issues-and-prs.yml

peaklabs-devb41a19d94d1b
diff --git a/.github/workflows/manage-stale-issues-and-prs.yml b/.github/workflows/manage-stale-issues-and-prs.yml
index 9d46411df7..2d018d0f98 100644
--- a/.github/workflows/manage-stale-issues-and-prs.yml
+++ b/.github/workflows/manage-stale-issues-and-prs.yml
@@ -28,30 +28,7 @@ jobs:
delete-branch: true
ignore-updates: false
labels-to-remove-when-unstale: '⏱︎ Stale, 💤 Waiting for feedback'
- labels-to-add-when-unstale: ''
- labels-to-remove-when-stale: '*'
any-of-labels: ''
ascending: false
close-issue-reason: 'not_planned'
exempt-all-milestones: false
-
- - name: Process closed issues and PRs
- if: steps.stale.outputs.closed-issues-prs
- uses: actions/github-script@v7
- with:
- github-token: ${{secrets.GITHUB_TOKEN}}
- script: |
- const closedItemsStr = '${{ steps.stale.outputs.closed-issues-prs }}';
- const closedItems = closedItemsStr.split(',').map(Number);
-
- for (const itemNumber of closedItems) {
- await github.rest.actions.createWorkflowDispatch({
- owner: context.repo.owner,
- repo: context.repo.repo,
- workflow_id: 'remove-labels-and-assignees-on-close.yml',
- ref: 'main',
- inputs: {
- issue_number: itemNumber.toString()
- }
- });
- }