Use bots from azuretools repo instead of VS Code's repo (#2624)
This commit is contained in:
Родитель
0f228503c3
Коммит
1d1b2ca289
|
@ -2,23 +2,22 @@ name: Locker
|
|||
on:
|
||||
schedule:
|
||||
- cron: 0 5 * * * # 10:00pm PT
|
||||
repository_dispatch:
|
||||
types: [trigger-locker]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
main:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Actions
|
||||
- name: Checkout triage-actions
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: "microsoft/vscode-github-triage-actions"
|
||||
path: ./actions
|
||||
ref: v42
|
||||
- name: Install Actions
|
||||
run: npm install --production --prefix ./actions
|
||||
repository: "microsoft/vscode-azuretools"
|
||||
path: ./azuretools
|
||||
ref: main
|
||||
- name: npm install
|
||||
run: npm install --production --prefix ./azuretools/triage-actions
|
||||
- name: Run Locker
|
||||
uses: ./actions/locker
|
||||
uses: ./azuretools/triage-actions/locker
|
||||
with:
|
||||
daysSinceClose: 45
|
||||
daysSinceUpdate: 7
|
||||
|
|
|
@ -2,23 +2,22 @@ name: Needs More Info Closer
|
|||
on:
|
||||
schedule:
|
||||
- cron: 30 5 * * * # 10:30pm PT
|
||||
repository_dispatch:
|
||||
types: [trigger-needs-more-info]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
main:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Actions
|
||||
- name: Checkout triage-actions
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: "microsoft/vscode-github-triage-actions"
|
||||
path: ./actions
|
||||
ref: v42
|
||||
- name: Install Actions
|
||||
run: npm install --production --prefix ./actions
|
||||
repository: "microsoft/vscode-azuretools"
|
||||
path: ./azuretools
|
||||
ref: main
|
||||
- name: npm install
|
||||
run: npm install --production --prefix ./azuretools/triage-actions
|
||||
- name: Run Needs More Info Closer
|
||||
uses: ./actions/needs-more-info-closer
|
||||
uses: ./azuretools/triage-actions/needs-more-info-closer
|
||||
with:
|
||||
token: ${{secrets.AZCODE_BOT_PAT}}
|
||||
label: needs more info
|
||||
|
|
Загрузка…
Ссылка в новой задаче