Skip to content

Commit dc1aa08

Browse files
authored
Update workflows to use GitHub app (#2701)
* Update workflows to use GitHub app * Update workflows to use GitHub app
1 parent ac097b7 commit dc1aa08

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/feature-request.yml

+3-1
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-azureappservice"
3032
candidateMilestoneID: 34

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

+3-1
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

+3-1
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)