Skip to content

SDK Validation Status #112093

SDK Validation Status

SDK Validation Status #112093

name: "SDK Validation Status"
on:
check_run:
types: [completed]
permissions:
contents: read
checks: read
statuses: write
id-token: write
jobs:
sdk-validation-status:
if: |
github.event.check_run.check_suite.app.name == 'Azure Pipelines' &&
contains(github.event.check_run.name, 'SDK Validation')
name: "SDK Validation Status"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
.github
# Only run the login and get token steps when the respository is azure-rest-api-specs-pr
- if: github.event.repository.name == 'azure-rest-api-specs-pr'
name: Azure Login with Workload Identity Federation
uses: azure/login@v2
with:
client-id: "936c56f0-298b-467f-b702-3ad5bf4b15c1"
tenant-id: "72f988bf-86f1-41af-91ab-2d7cd011db47"
allow-no-subscriptions: true
- if: github.event.repository.name == 'azure-rest-api-specs-pr'
name: Get ADO Token via Managed Identity
run: |
# Get token for Azure DevOps resource
ADO_TOKEN=$(az account get-access-token --resource "499b84ac-1321-427f-aa17-267ca6975798" --query "accessToken" -o tsv)
echo "ADO_TOKEN=$ADO_TOKEN" >> $GITHUB_ENV
- name: "SDK Validation Set Status"
id: sdk-validation-status
uses: actions/github-script@v7
with:
script: |
const setStatus =
(await import('${{ github.workspace }}/.github/workflows/src/spec-gen-sdk-status.js')).default;
return await setStatus({ github, context, core });
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy