Skip to content

Commit

Permalink
Merge pull request #987 from Homebrew/sync-triage-config
Browse files Browse the repository at this point in the history
Synchronize triage configuration
  • Loading branch information
ZhongRuoyu authored Nov 22, 2023
2 parents 0b9fd54 + beb8ba1 commit 5060f68
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 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@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 5060f68

Please sign in to comment.