Skip to content

Commit

Permalink
Merge pull request #461 from Homebrew/sync-triage-config
Browse files Browse the repository at this point in the history
Synchronize triage configuration
  • Loading branch information
ZhongRuoyu committed Nov 22, 2023
2 parents 86aa2b4 + 7ac1875 commit 65f1b5d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/triage-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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')
Expand All @@ -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
Expand Down

0 comments on commit 65f1b5d

Please sign in to comment.