Use bots from azuretools repo instead of VS Code's repo (#2624)

This commit is contained in:
Eric Jizba 2021-01-19 13:40:04 -08:00 коммит произвёл GitHub
Родитель 0f228503c3
Коммит 1d1b2ca289
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 16 добавлений и 18 удалений

17
.github/workflows/locker.yml поставляемый
Просмотреть файл

@ -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

17
.github/workflows/needs-more-info-closer.yml поставляемый
Просмотреть файл

@ -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