Skip to content

Commit 1dfa5f7

Browse files
authored
triage-issues.yml: update to match main configuration (#899)
1 parent a82c169 commit 1dfa5f7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/triage-issues.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ concurrency:
2323
jobs:
2424
stale:
2525
if: >
26-
startsWith(github.repository, 'Homebrew/') && (
26+
github.repository_owner == 'Homebrew' && (
2727
github.event_name != 'issue_comment' || (
2828
contains(github.event.issue.labels.*.name, 'stale') ||
2929
contains(github.event.pull_request.labels.*.name, 'stale')
@@ -48,7 +48,7 @@ jobs:
4848

4949
bump-pr-stale:
5050
if: >
51-
startsWith(github.repository, 'Homebrew/') && (
51+
github.repository_owner == 'Homebrew' && (
5252
github.event_name != 'issue_comment' || (
5353
contains(github.event.issue.labels.*.name, 'stale') ||
5454
contains(github.event.pull_request.labels.*.name, 'stale')
@@ -70,13 +70,14 @@ jobs:
7070
any-of-labels: "bump-formula-pr,bump-cask-pr"
7171

7272
lock-threads:
73-
if: startsWith(github.repository, 'Homebrew/') && github.event_name != 'issue_comment'
73+
if: github.repository_owner == 'Homebrew' && github.event_name != 'issue_comment'
7474
runs-on: ubuntu-latest
7575
steps:
7676
- name: Lock Outdated Threads
7777
uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771
7878
with:
7979
github-token: ${{ secrets.GITHUB_TOKEN }}
80+
process-only: 'issues, prs'
8081
issue-inactive-days: 30
8182
add-issue-labels: outdated
8283
pr-inactive-days: 30

0 commit comments

Comments
 (0)