Skip to content

Commit

Permalink
Merge branch 'staging' into docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaagrav committed May 15, 2023
2 parents c421226 + 663b520 commit ce2406b
Show file tree
Hide file tree
Showing 23 changed files with 4,791 additions and 4,813 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/package-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- staging
- beta

jobs:
package-action:
Expand All @@ -24,4 +25,4 @@ jobs:
git config --global user.name "GitHub Actions"
git add .
git commit -m "chore: Update dist" || echo "No changes to commit"
git push origin HEAD:staging
git push
7 changes: 6 additions & 1 deletion .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Test Action

on:
pull_request:
types: [opened, edited, synchronize, reopened, closed]
types: [ opened, edited, synchronize, reopened, closed ]

jobs:
get-downstream-assets:
Expand All @@ -24,3 +24,8 @@ jobs:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
ATLAN_INSTANCE_URL: ${{secrets.ATLAN_INSTANCE_URL}}
ATLAN_API_TOKEN: ${{secrets.ATLAN_API_TOKEN}}
DBT_ENVIRONMENT_BRANCH_MAP: |
main: DBT-DEMO-PROD
beta: Wide World Importers PE1
test-action: Wide World Importers PE1
IGNORE_MODEL_ALIAS_MATCHING: true
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.env
.env.gitlab
.env.github
node_modules/
event.json
.idea
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Here's what it looks like 👇
runs-on: ubuntu-latest
steps:
- name: Run Action
uses: atlanhq/dbt-action@v1-beta
uses: atlanhq/dbt-action@v1
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
ATLAN_INSTANCE_URL: ${{secrets.ATLAN_INSTANCE_URL}}
Expand Down
8 changes: 7 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ inputs:
ATLAN_INSTANCE_URL:
description: "Atlan instance URL"
required: true

DBT_ENVIRONMENT_BRANCH_MAP:
description: "List of environments"
required: false
IGNORE_MODEL_ALIAS_MATCHING:
description: "Ignore model alias matching"
required: false
default: false
runs:
using: "node16"
main: "dist/index.js"
Expand Down
Loading

0 comments on commit ce2406b

Please sign in to comment.