Skip to content

Commit ebf7608

Browse files
authored
Update workflows to use GitHub app (#933)
1 parent b030c16 commit ebf7608

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/feature-request.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ jobs:
2424
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'feature-request')
2525
uses: ./actions/feature-request
2626
with:
27-
token: ${{secrets.AZCODE_BOT_PAT}}
27+
app_id: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_ID }}
28+
app_installation_id: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_INSTALLATION_ID }}
29+
app_private_key: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_PRIVATE_KEY }}
2830
owner: "microsoft"
2931
repo: "vscode-azurestaticwebapps"
3032
candidateMilestoneID: 10

.github/workflows/info-needed-closer.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
- name: Run Info Needed Closer
2020
uses: ./actions/needs-more-info-closer
2121
with:
22-
token: ${{secrets.AZCODE_BOT_PAT}}
22+
app_id: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_ID }}
23+
app_installation_id: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_INSTALLATION_ID }}
24+
app_private_key: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_PRIVATE_KEY }}
2325
label: info-needed
2426
closeDays: 14
2527
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!"

.github/workflows/locker.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
- name: Run Locker
2020
uses: ./actions/locker
2121
with:
22-
token: ${{secrets.AZCODE_BOT_PAT}}
22+
app_id: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_ID }}
23+
app_installation_id: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_INSTALLATION_ID }}
24+
app_private_key: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_PRIVATE_KEY }}
2325
daysSinceClose: 45
2426
daysSinceUpdate: 7

0 commit comments

Comments
 (0)