From 870194cbdd69a022a7d7a9c6d5c9b92068f812fa Mon Sep 17 00:00:00 2001 From: Cee Chen <549407+cee-chen@users.noreply.github.com> Date: Mon, 14 Oct 2024 14:56:18 -0700 Subject: [PATCH] Fix stalebot config (#8076) --- .github/workflows/stale_issues.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale_issues.yml b/.github/workflows/stale_issues.yml index f71843a1d92..044b1316879 100644 --- a/.github/workflows/stale_issues.yml +++ b/.github/workflows/stale_issues.yml @@ -9,8 +9,8 @@ permissions: jobs: stale-prs: # close stale PRs after ~3 months permissions: - issues: write pull-requests: write + issues: none # this will generate GH actions permissions errors. This is fine; we'd rather the action error than try to parse issues it doesn't need to runs-on: ubuntu-latest steps: - uses: actions/stale@v8 @@ -28,7 +28,7 @@ jobs: stale-issues: # close stale issues after ~1 year permissions: issues: write - pull-requests: write + pull-requests: none # this will generate GH actions permissions errors. This is fine; we'd rather the action error than try to parse PRs it doesn't need to runs-on: ubuntu-latest steps: - uses: actions/stale@v8 @@ -48,6 +48,7 @@ jobs: answered-issues: # close answered issues after 3 days if no response permissions: issues: write + pull-requests: none # this will generate GH actions permissions errors. This is fine; we'd rather the action error than try to parse PRs it doesn't need to runs-on: ubuntu-latest steps: - uses: actions/stale@v8