Skip to content

Commit

Permalink
checking fork (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
yairsimantov20 authored Dec 21, 2023
1 parent 2cd3652 commit 450f1b0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/validate-integration-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ jobs:

- name: Setup
run: |
pip install toml-cli yq
pip install toml-cli yq packaging
- name: Check Ocean version 🌊
run: |
changed_dirs=$(git diff --name-only origin/main origin/${{ github.head_ref }} | grep 'integrations/' | cut -d'/' -f 1,2 | sort -u)
git remote add ocean-origin https://github.com/port-labs/ocean.git
git fetch ocean-origin
changed_dirs=$(git diff --name-only ocean-origin/main HEAD | grep 'integrations/' | cut -d'/' -f 1,2 | sort -u)
package_version=$(curl -s https://pypi.org/pypi/port-ocean/json | jq -r '.info.version')
for dir in $changed_dirs; do
pyproject_file=$(find $dir -name 'pyproject.toml' -not -path "**/.venv/*")
Expand Down

0 comments on commit 450f1b0

Please sign in to comment.