triage-issues.yml: update to match main configuration

This commit is contained in:
BrewTestBot 2023-11-22 16:09:43 +00:00
parent 6831367e65
commit bf8f77ff49
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F

View File

@ -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@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
process-only: 'issues, prs'
issue-inactive-days: 30
add-issue-labels: outdated
pr-inactive-days: 30