Skip to content

Commit

Permalink
New dbt-checkpoint github action dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
BAntonellini committed Feb 8, 2024
1 parent f54cb9b commit 6d2d726
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/dbt_checkpoint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: pre-commit

on:
workflow_dispatch:

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2

- name: Identify file changes
id: file_changes
uses: trilom/file-changes-action@v1.2.4
with:
output: " "

- name: Run dbt checkpoint
uses: dbt-checkpoint/dbt-checkpoint@v1.2.0
env:
DB_PASSWORD: ${{ secrets.SuperSecret }}
with:
args: run --files ${{ steps.file_changes.outputs.files }}

0 comments on commit 6d2d726

Please sign in to comment.