From 46f101b990b36182fb9aa8e633ce10ad9d3c6158 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 22 Nov 2023 16:09:41 +0000 Subject: [PATCH] triage-issues.yml: update to match main configuration --- .github/workflows/triage-issues.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/triage-issues.yml b/.github/workflows/triage-issues.yml index 2b7bffd8..3316d213 100644 --- a/.github/workflows/triage-issues.yml +++ b/.github/workflows/triage-issues.yml @@ -23,7 +23,7 @@ concurrency: jobs: stale: if: > - startsWith(github.repository, 'Homebrew/') && ( + github.repository_owner == 'Homebrew' && ( github.event_name != 'issue_comment' || ( contains(github.event.issue.labels.*.name, 'stale') || contains(github.event.pull_request.labels.*.name, 'stale') @@ -48,7 +48,7 @@ jobs: bump-pr-stale: if: > - startsWith(github.repository, 'Homebrew/') && ( + github.repository_owner == 'Homebrew' && ( github.event_name != 'issue_comment' || ( contains(github.event.issue.labels.*.name, 'stale') || contains(github.event.pull_request.labels.*.name, 'stale') @@ -70,13 +70,14 @@ jobs: any-of-labels: "bump-formula-pr,bump-cask-pr" lock-threads: - if: startsWith(github.repository, 'Homebrew/') && github.event_name != 'issue_comment' + if: github.repository_owner == 'Homebrew' && github.event_name != 'issue_comment' runs-on: ubuntu-latest steps: - name: Lock Outdated Threads - uses: dessant/lock-threads@d42e5f49803f3c4e14ffee0378e31481265dda22 + uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 with: github-token: ${{ secrets.GITHUB_TOKEN }} + process-only: 'issues, prs' issue-inactive-days: 30 add-issue-labels: outdated pr-inactive-days: 30