From fdb27a435ff126da4d6ab6647d66b879a8a0a654 Mon Sep 17 00:00:00 2001 From: "Brandon Waterloo [MSFT]" <36966225+bwateratmsft@users.noreply.github.com> Date: Wed, 22 Jan 2025 11:41:30 -0500 Subject: [PATCH] Update workflows to use GitHub app --- .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