Skip to content

First fully functional version of dbtcheckpoint's Action #20

First fully functional version of dbtcheckpoint's Action

First fully functional version of dbtcheckpoint's Action #20

name: pre-commit
on:
push:
branches:
- dev_bruno
jobs:
dbt-checkpoint:
runs-on: ubuntu-latest
env:
DB_PASSWORD: ${{ secrets.DATACOVES__MAIN__PASSWORD }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
- id: get_file_changes
uses: trilom/file-changes-action@v1.2.4
with:
output: " "
- name: Run dbt checkpoint
uses: dbt-checkpoint/action@v0.1
with:
dbt_version: 1.6.3
dbt_adapter: dbt-snowflake
extra_args: --files ${{ steps.get_file_changes.outputs.files}}