Skip to content

Commit

Permalink
cicd: added if github.event.review.state approved #TASK-7301
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfeSanahuja committed Jan 8, 2025
1 parent 3acb910 commit 3807051
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 3807051

Please sign in to comment.