Skip to content

Commit 3f9ad1a

Browse files
committed
test external contributor flow: remove check creation, use ecosystem branch
1 parent a3aa179 commit 3f9ad1a

File tree

1 file changed

+2
-27
lines changed

1 file changed

+2
-27
lines changed

.github/workflows/integration-tests.yml

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -45,30 +45,6 @@ jobs:
4545
steps:
4646
- uses: actions/checkout@v3
4747

48-
- name: Generate GitHub App Token for Check Updates
49-
id: generate-check-token
50-
uses: actions/create-github-app-token@v1
51-
with:
52-
app-id: ${{ secrets.DECO_TEST_APPROVAL_APP_ID }}
53-
private-key: ${{ secrets.DECO_TEST_APPROVAL_PRIVATE_KEY }}
54-
owner: databricks
55-
56-
- name: Create Check Run
57-
id: create-check
58-
env:
59-
GH_TOKEN: ${{ steps.generate-check-token.outputs.token }}
60-
run: |
61-
response=$(gh api -X POST \
62-
/repos/${{ github.repository }}/check-runs \
63-
-f name="Integration Tests" \
64-
-f head_sha="${{ github.event.pull_request.head.sha }}" \
65-
-f status="queued" \
66-
-f output[title]="Integration Tests" \
67-
-f output[summary]="Tests queued and will be triggered shortly...")
68-
69-
check_run_id=$(echo "$response" | jq -r .id)
70-
echo "check_run_id=$check_run_id" >> $GITHUB_OUTPUT
71-
7248
- name: Generate GitHub App Token for Workflow Trigger
7349
id: generate-token
7450
uses: actions/create-github-app-token@v1
@@ -83,10 +59,9 @@ jobs:
8359
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
8460
run: |
8561
gh workflow run sdk-go-isolated-pr.yml -R ${{ secrets.ORG_NAME }}/${{secrets.REPO_NAME}} \
86-
--ref main \
62+
--ref deco-external-contributor-checks \
8763
-f pull_request_number=${{ github.event.pull_request.number }} \
88-
-f commit_sha=${{ github.event.pull_request.head.sha }} \
89-
-f check_run_id=${{ steps.create-check.outputs.check_run_id }}
64+
-f commit_sha=${{ github.event.pull_request.head.sha }}
9065
9166
9267
# The hash for the merge queue may not be the same as the hash for the PR.

0 commit comments

Comments
 (0)