Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorcast-db committed Sep 2, 2024
1 parent bec875a commit ac8ffe8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/check-mark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ on:
check_run_id:
description: "Run ID for the check run"
required: true

pull_request:



env:
Expand All @@ -43,7 +42,7 @@ jobs:
/repos/${{github.repository}}/check-runs/${{ inputs.check_run_id }}
mark-as-done:
if: ${{ github.event.inputs.check_run_id == 'completed' }}
if: ${{ github.event.inputs.status == 'completed' }}
runs-on: ubuntu-latest
steps:
- name: Acknowledge Request
Expand All @@ -64,7 +63,7 @@ jobs:
EOF
mark-as-failed:
if: ${{ github.event.inputs.check_run_id == 'failed' }}
if: ${{ github.event.inputs.status == 'failed' }}
runs-on: ubuntu-latest
steps:
- name: Acknowledge Request
Expand All @@ -87,6 +86,8 @@ jobs:
pr-comment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Write PR Comment
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@ jobs:
# Add new comment
gh pr comment ${{ github.event.pull_request.number }} --body \
"<!-- INTEGRATION_TESTS -->
A new approval check has been created. Run integration tests by triggering the following workflow
A new approval check has been created. Start integration tests by using the following link.
Workflow: https://github.com/databricks-eng/eng-dev-ecosystem/actions/workflows/sdk-go-isolated-pr.yml
Check Run ID: ${{ env.CHECK_RUN_ID }}
https://github.com/databricks-eng/eng-dev-ecosystem/actions/workflows/sdk-go-isolated-pr.yml/dispatch?pull_request_number=${{github.event.pull_request.number}}&check_run_id=${{ env.CHECK_RUN_ID }}
This check will be approved automatically on success.
Expand Down

0 comments on commit ac8ffe8

Please sign in to comment.