diff --git a/.github/workflows/auto-close-prs.yml b/.github/workflows/auto-close-prs.yml index e15f40bbea..bd8a81f828 100644 --- a/.github/workflows/auto-close-prs.yml +++ b/.github/workflows/auto-close-prs.yml @@ -31,6 +31,12 @@ jobs: if (prAge < TWO_WEEKS) continue; + const hasSkipLabel = pr.labels.some(label => + label.name === 'pinned' + ); + + if (hasSkipLabel) continue; + const comments = await github.rest.issues.listComments({ owner: context.repo.owner, repo: context.repo.repo,