Skip to content

Commit 2117399

Browse files
committed
actually no need for a comment
1 parent a90a5e4 commit 2117399

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

.github/workflows/validate-sdks.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -87,29 +87,6 @@ jobs:
8787
working-directory: oagen-emitters
8888
run: npm run sdk:verify:${{ matrix.language }}
8989

90-
- name: Comment on failure
91-
if: failure()
92-
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
93-
with:
94-
github-token: ${{ steps.app-token.outputs.token }}
95-
script: |
96-
const body = [
97-
`## SDK build failed for \`${{ matrix.language }}\``,
98-
'',
99-
'The spec changes in this PR caused the **${{ matrix.language }}** SDK build to fail.',
100-
'',
101-
`**[View workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})**`,
102-
'',
103-
'This check must pass before the PR can be merged.'
104-
].join('\n');
105-
106-
await github.rest.issues.createComment({
107-
owner: context.repo.owner,
108-
repo: context.repo.repo,
109-
issue_number: context.issue.number,
110-
body
111-
});
112-
11390
- name: Upload diagnostics
11491
if: always()
11592
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2

0 commit comments

Comments
 (0)