Skip to content

Commit

Permalink
Creating GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
pgoslatara committed Jun 30, 2024
1 parent 497d064 commit eb29f26
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,15 @@ jobs:
--volume "$PWD/dbt_project":/app/dbt_project \
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:ci \
poetry run dbt_bouncer --dbt-project-dir dbt_project
github-action:
# needs: [pre-commit]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run action
uses: ./
with:
dbt_project_dir: dbt_project
12 changes: 12 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: 'dbt-bouncer'
description: 'Configure and enforce conventions for your dbt project.'
inputs:
dbt-project-dir:
default: '.'
description: 'Directory where your dbt project is located.'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.dbt-project-dir }}

0 comments on commit eb29f26

Please sign in to comment.