From 5202519c59c1e3b9739a5437fff5f16acb497988 Mon Sep 17 00:00:00 2001 From: "Brandon Waterloo [MSFT]" <36966225+bwateratmsft@users.noreply.github.com> Date: Wed, 22 Jan 2025 12:27:18 -0500 Subject: [PATCH] Update workflows to use GitHub app (#4475) --- .github/workflows/info-needed-closer.yml | 4 +++- .github/workflows/locker.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/info-needed-closer.yml b/.github/workflows/info-needed-closer.yml index 9304007a48..308b11d0cb 100644 --- a/.github/workflows/info-needed-closer.yml +++ b/.github/workflows/info-needed-closer.yml @@ -19,7 +19,9 @@ jobs: - name: Run Info Needed Closer uses: ./actions/needs-more-info-closer with: - token: ${{secrets.AZCODE_BOT_PAT}} + app_id: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_ID }} + app_installation_id: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_INSTALLATION_ID }} + app_private_key: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_PRIVATE_KEY }} label: info-needed closeDays: 14 closeComment: "This issue has been closed automatically because it needs more information and has not had recent activity. See also our [issue reporting](https://aka.ms/azcodeissuereporting) guidelines.\n\nHappy Coding!" diff --git a/.github/workflows/locker.yml b/.github/workflows/locker.yml index 050406703e..4211dec732 100644 --- a/.github/workflows/locker.yml +++ b/.github/workflows/locker.yml @@ -19,6 +19,8 @@ jobs: - name: Run Locker uses: ./actions/locker with: - token: ${{secrets.AZCODE_BOT_PAT}} + app_id: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_ID }} + app_installation_id: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_INSTALLATION_ID }} + app_private_key: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_PRIVATE_KEY }} daysSinceClose: 45 daysSinceUpdate: 7