diff --git a/.github/workflows/check-mark.yml b/.github/workflows/check-mark.yml index 977d82f3b..dc015ca42 100644 --- a/.github/workflows/check-mark.yml +++ b/.github/workflows/check-mark.yml @@ -64,18 +64,11 @@ jobs: steps: - name: Acknowledge Request run: | - gh api -X PATCH -H "Accept: application/vnd.github+json" \ + gh api -X POST -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ - /repos/databricks/databricks-sdk-go/check-runs/${{ inputs.check_run_id }} \ - --input - <<- EOF - { - "conclusion": "failure", - "output": { - "title": "Integration Tests Failed", - "summary": "**Summary**: The tests failed." - } - } - EOF + /repos/databricks/databricks-sdk-go/statuses/${{ inputs.check_run_id }} \ + -f 'status=success' + pr-comment: runs-on: ubuntu-latest diff --git a/config/auth_default_test.go b/config/auth_default_test.go index 5707627fc..b4716c2ca 100644 --- a/config/auth_default_test.go +++ b/config/auth_default_test.go @@ -13,7 +13,7 @@ import ( func TestErrCannotConfigureAuth(t *testing.T) { env.CleanupEnvironment(t) - + // random comment w := databricks.Must(databricks.NewWorkspaceClient()) _, err := w.CurrentUser.Me(context.Background()) assert.True(t, errors.Is(err, config.ErrCannotConfigureAuth))