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:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
if: >
|
if: >
|
||||||
startsWith(github.repository, 'Homebrew/') && (
|
github.repository_owner == 'Homebrew' && (
|
||||||
github.event_name != 'issue_comment' || (
|
github.event_name != 'issue_comment' || (
|
||||||
contains(github.event.issue.labels.*.name, 'stale') ||
|
contains(github.event.issue.labels.*.name, 'stale') ||
|
||||||
contains(github.event.pull_request.labels.*.name, 'stale')
|
contains(github.event.pull_request.labels.*.name, 'stale')
|
||||||
@ -48,7 +48,7 @@ jobs:
|
|||||||
|
|
||||||
bump-pr-stale:
|
bump-pr-stale:
|
||||||
if: >
|
if: >
|
||||||
startsWith(github.repository, 'Homebrew/') && (
|
github.repository_owner == 'Homebrew' && (
|
||||||
github.event_name != 'issue_comment' || (
|
github.event_name != 'issue_comment' || (
|
||||||
contains(github.event.issue.labels.*.name, 'stale') ||
|
contains(github.event.issue.labels.*.name, 'stale') ||
|
||||||
contains(github.event.pull_request.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"
|
any-of-labels: "bump-formula-pr,bump-cask-pr"
|
||||||
|
|
||||||
lock-threads:
|
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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Lock Outdated Threads
|
- name: Lock Outdated Threads
|
||||||
uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771
|
uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
process-only: 'issues, prs'
|
||||||
issue-inactive-days: 30
|
issue-inactive-days: 30
|
||||||
add-issue-labels: outdated
|
add-issue-labels: outdated
|
||||||
pr-inactive-days: 30
|
pr-inactive-days: 30
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user