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
27 changes: 1 addition & 26 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,30 +43,6 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Generate GitHub App Token for Check Updates
id: generate-check-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.DECO_TEST_APPROVAL_APP_ID }}
private-key: ${{ secrets.DECO_TEST_APPROVAL_PRIVATE_KEY }}
owner: databricks

- name: Create Check Run
id: create-check
env:
GH_TOKEN: ${{ steps.generate-check-token.outputs.token }}
run: |
response=$(gh api -X POST \
/repos/${{ github.repository }}/check-runs \
-f name="Integration Tests" \
-f head_sha="${{ github.event.pull_request.head.sha }}" \
-f status="queued" \
-f output[title]="Integration Tests" \
-f output[summary]="Tests queued and will be triggered shortly...")

check_run_id=$(echo "$response" | jq -r .id)
echo "check_run_id=$check_run_id" >> $GITHUB_OUTPUT

- name: Generate GitHub App Token for Workflow Trigger
id: generate-token
uses: actions/create-github-app-token@v1
Expand All @@ -83,8 +59,7 @@ jobs:
gh workflow run sdk-java-isolated-pr.yml -R ${{ secrets.ORG_NAME }}/${{secrets.REPO_NAME}} \
--ref main \
-f pull_request_number=${{ github.event.pull_request.number }} \
-f commit_sha=${{ github.event.pull_request.head.sha }} \
-f check_run_id=${{ steps.create-check.outputs.check_run_id }}
-f commit_sha=${{ github.event.pull_request.head.sha }}

# Statuses and checks apply to specific commits (by hash).
# Enforcement of required checks is done both at the PR level and the merge queue level.
Expand Down
Loading