Add minimal Microsoft.Barbie RP (no lease) #17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ARM Modeling Review | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - RPSaaSMaster | |
| types: | |
| # default | |
| - opened | |
| - synchronize | |
| - reopened | |
| # re-run if base branch is changed, since previous merge commit may generate incorrect diff | |
| - edited | |
| paths: | |
| - "specification/**/resource-manager/**" | |
| permissions: | |
| contents: read | |
| jobs: | |
| arm-modeling-review: | |
| name: ARM Modeling Review | |
| runs-on: ubuntu-slim | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 2 | |
| - name: Install dependencies for github-script actions | |
| uses: ./.github/actions/install-deps-github-script | |
| - name: ARM Modeling Review | |
| id: detect | |
| uses: actions/github-script@v8 | |
| with: | |
| script: | | |
| const { default: armModelingReview } = | |
| await import('${{ github.workspace }}/.github/workflows/src/arm-modeling-review/arm-modeling-review.js'); | |
| return await armModelingReview({ context, core }); | |
| - name: Upload artifact for ARMModelingReviewRequired label | |
| if: always() && steps.detect.outputs.result && fromJson(steps.detect.outputs.result).labelActions['ARMModelingReviewRequired'] != 'none' | |
| uses: ./.github/actions/add-label-artifact | |
| with: | |
| name: "ARMModelingReviewRequired" | |
| value: "${{ fromJson(steps.detect.outputs.result).labelActions['ARMModelingReviewRequired'] == 'add' }}" | |
| - name: Upload artifact for ARMModelingSignedOff label | |
| if: always() && steps.detect.outputs.result && fromJson(steps.detect.outputs.result).labelActions['ARMModelingSignedOff'] != 'none' | |
| uses: ./.github/actions/add-label-artifact | |
| with: | |
| name: "ARMModelingSignedOff" | |
| value: "${{ fromJson(steps.detect.outputs.result).labelActions['ARMModelingSignedOff'] == 'add' }}" | |
| - name: Upload artifact for ARMModelingAutoSignedOff label | |
| if: always() && steps.detect.outputs.result && fromJson(steps.detect.outputs.result).labelActions['ARMModelingAutoSignedOff'] != 'none' | |
| uses: ./.github/actions/add-label-artifact | |
| with: | |
| name: "ARMModelingAutoSignedOff" | |
| value: "${{ fromJson(steps.detect.outputs.result).labelActions['ARMModelingAutoSignedOff'] == 'add' }}" |