Skip to content
Open
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 @@ -45,30 +45,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 @@ -85,8 +61,7 @@ jobs:
gh workflow run sdk-go-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 }}


# The hash for the merge queue may not be the same as the hash for the PR.
Expand Down
Loading