diff --git a/.github/workflows/recce-ci.yml b/.github/workflows/recce-ci.yml index 335719034..ff36c41b8 100644 --- a/.github/workflows/recce-ci.yml +++ b/.github/workflows/recce-ci.yml @@ -7,6 +7,9 @@ on: paths: - warehouse/dbt/** +permissions: + contents: write + env: # dbt env variables used in your dbt profiles.yml DBT_PROFILES_DIR: ./ @@ -22,6 +25,14 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: + run: | + git remote -v + git checkout dbt/repo-stats + git branch --show-current - name: Set up Python uses: actions/setup-python@v4 @@ -35,7 +46,8 @@ jobs: poetry run which dbt - name: Install Recce - run: poetry run pip install recce-nightly + # run: poetry run pip install recce-nightly + run: pip install git+https://github.com/DataRecce/recce.git@bug/fetch_repo_in_the_cloud_mode - name: Add packages.yml file run: | @@ -61,20 +73,13 @@ jobs: run: | source $(poetry env info --path)/bin/activate dbt deps - dbt build --target ${{ env.DBT_CURRENT_TARGET}} + # dbt build --target ${{ env.DBT_CURRENT_TARGET}} dbt docs generate --target ${{ env.DBT_CURRENT_TARGET}} env: DBT_CURRENT_TARGET: "dev" - name: Run Recce CI - run: poetry run recce run - - - name: Archive Recce State File - uses: actions/upload-artifact@v4 - id: recce-artifact-uploader - with: - name: recce-state-file - path: recce_state.json + run: poetry run recce run --cloud - name: Prepare Recce Summary id: recce-summary