Skip to content

Commit 3c6d145

Browse files
azure-sdkraych1Copilot
authored
Sync .github directory with azure-sdk-tools for PR 15048 (#48770)
* Add SDK Validation check name filter to post-apiview workflow Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fixed format issue --------- Co-authored-by: Ray Chen <raychen@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 85e2398 commit 3c6d145

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/post-apiview.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,32 @@ name: After APIView
33
on:
44
check_run:
55
types: [completed]
6-
6+
77
permissions:
88
pull-requests: write
99
contents: read
1010

1111
jobs:
1212
post-apiview:
1313
name: After APIView
14-
runs-on: ["self-hosted", "1ES.Pool=azsdk-pool-github-runners", "JobId=azsdk-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}"]
14+
runs-on:
15+
[
16+
"self-hosted",
17+
"1ES.Pool=azsdk-pool-github-runners",
18+
"JobId=azsdk-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}",
19+
]
1520
if: |
1621
toJson(github.event.check_run.pull_requests) != '[]' &&
1722
github.event.check_run.check_suite.app.name == 'Azure Pipelines' && (
1823
contains(github.event.check_run.name, 'Build Build') ||
19-
contains(github.event.check_run.name, 'Build Analyze') )
24+
contains(github.event.check_run.name, 'Build Analyze') ||
25+
contains(github.event.check_run.name, 'SDK Validation') )
2026
steps:
2127
- name: Checkout
2228
uses: actions/checkout@v6
2329
with:
24-
sparse-checkout: 'eng/common'
25-
30+
sparse-checkout: "eng/common"
31+
2632
- name: Create APIView Comment on PR
2733
run: |
2834
. "eng/common/scripts/Helpers/ApiView-Helpers.ps1"

0 commit comments

Comments
 (0)