Skip to content

Commit 4074f4e

Browse files
authored
[Internal] Remove Check Creation From SDK Workflow (#561)
This PR removes check creation logic from the SDK workflow now that the internal repo handles check creation for all integration tests. NO_CHANGELOG=true Co-authored-by: Omer Lachish <rauchy@users.noreply.github.com>
1 parent 32fc1a2 commit 4074f4e

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -43,30 +43,6 @@ jobs:
4343
steps:
4444
- uses: actions/checkout@v3
4545

46-
- name: Generate GitHub App Token for Check Updates
47-
id: generate-check-token
48-
uses: actions/create-github-app-token@v1
49-
with:
50-
app-id: ${{ secrets.DECO_TEST_APPROVAL_APP_ID }}
51-
private-key: ${{ secrets.DECO_TEST_APPROVAL_PRIVATE_KEY }}
52-
owner: databricks
53-
54-
- name: Create Check Run
55-
id: create-check
56-
env:
57-
GH_TOKEN: ${{ steps.generate-check-token.outputs.token }}
58-
run: |
59-
response=$(gh api -X POST \
60-
/repos/${{ github.repository }}/check-runs \
61-
-f name="Integration Tests" \
62-
-f head_sha="${{ github.event.pull_request.head.sha }}" \
63-
-f status="queued" \
64-
-f output[title]="Integration Tests" \
65-
-f output[summary]="Tests queued and will be triggered shortly...")
66-
67-
check_run_id=$(echo "$response" | jq -r .id)
68-
echo "check_run_id=$check_run_id" >> $GITHUB_OUTPUT
69-
7046
- name: Generate GitHub App Token for Workflow Trigger
7147
id: generate-token
7248
uses: actions/create-github-app-token@v1
@@ -83,8 +59,7 @@ jobs:
8359
gh workflow run sdk-java-isolated-pr.yml -R ${{ secrets.ORG_NAME }}/${{secrets.REPO_NAME}} \
8460
--ref main \
8561
-f pull_request_number=${{ github.event.pull_request.number }} \
86-
-f commit_sha=${{ github.event.pull_request.head.sha }} \
87-
-f check_run_id=${{ steps.create-check.outputs.check_run_id }}
62+
-f commit_sha=${{ github.event.pull_request.head.sha }}
8863
8964
# Statuses and checks apply to specific commits (by hash).
9065
# Enforcement of required checks is done both at the PR level and the merge queue level.

0 commit comments

Comments
 (0)