Skip to content

Commit

Permalink
Merge pull request #2538 from opencb/TASK-7301
Browse files Browse the repository at this point in the history
TASK-7301 - PR approve workflow also runs on PR comment
  • Loading branch information
juanfeSanahuja authored Jan 16, 2025
2 parents 3acb910 + 3807051 commit 3349ee6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pull-request-approved.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
calculate-xetabase-branch:
if: github.event.review.state == 'approved'
name: Calculate Xetabase branch
runs-on: ubuntu-22.04
outputs:
Expand All @@ -31,6 +32,7 @@ jobs:
ZETTA_REPO_ACCESS_TOKEN: ${{ secrets.ZETTA_REPO_ACCESS_TOKEN }}

test:
if: github.event.review.state == 'approved'
name: "Run all tests before merging"
needs: calculate-xetabase-branch
uses: opencb/java-common-libs/.github/workflows/test-xetabase-workflow.yml@develop
Expand Down

0 comments on commit 3349ee6

Please sign in to comment.