Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/post-apiview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,32 @@ name: After APIView
on:
check_run:
types: [completed]

permissions:
pull-requests: write
contents: read

jobs:
post-apiview:
name: After APIView
runs-on: ["self-hosted", "1ES.Pool=azsdk-pool-github-runners", "JobId=azsdk-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}"]
runs-on:
[
"self-hosted",
"1ES.Pool=azsdk-pool-github-runners",
"JobId=azsdk-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}",
Comment thread
raych1 marked this conversation as resolved.
]
if: |
toJson(github.event.check_run.pull_requests) != '[]' &&
github.event.check_run.check_suite.app.name == 'Azure Pipelines' && (
contains(github.event.check_run.name, 'Build Build') ||
contains(github.event.check_run.name, 'Build Analyze') )
contains(github.event.check_run.name, 'Build Analyze') ||
contains(github.event.check_run.name, 'SDK Validation') )
steps:
- name: Checkout
uses: actions/checkout@v6
with:
sparse-checkout: 'eng/common'
sparse-checkout: "eng/common"

- name: Create APIView Comment on PR
run: |
. "eng/common/scripts/Helpers/ApiView-Helpers.ps1"
Expand Down