Revert "Remove latest-release-monitor-workflow" (#223543)

Revert "Remove latest-release-monitor-workflow (#222246)"

This reverts commit 16359f4698.
pull/223549/head
Bhavya U 2024-07-24 14:12:28 -07:00 committed by GitHub
parent 06643dd852
commit ad09ae2030
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
name: Latest Release Monitor
permissions:
id-token: write
contents: read
on:
schedule:
- cron: 0/5 * * * *
repository_dispatch:
types: [trigger-latest-release-monitor]
jobs:
main:
runs-on: ubuntu-latest
environment: main
steps:
- uses: azure/login@v2
with:
client-id: ${{ vars.AZURE_CLIENT_ID }}
tenant-id: ${{ vars.AZURE_TENANT_ID }}
allow-no-subscriptions: true
- name: Checkout Actions
uses: actions/checkout@v4
with:
repository: "microsoft/vscode-github-triage-actions"
path: ./actions
ref: stable
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Install Storage Module
run: npm install @azure/storage-blob@12.1.1
- name: Run Latest Release Monitor
uses: ./actions/latest-release-monitor
with:
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}