triage-issues.yml: update to match main configuration
This commit is contained in:
parent
6831367e65
commit
bf8f77ff49
7
.github/workflows/triage-issues.yml
vendored
7
.github/workflows/triage-issues.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user