@@ -67,15 +67,15 @@ name: Run Elementary
6767on:
6868 # Run the action when a push to the main branch of the repository is made.
6969 push:
70- branches: [ "main", "master" ]
70+ branches: ["main", "master"]
7171
7272 # Run the action when a pull request to the main branch is opened.
7373 pull_request:
74- branches: [ "main", "master" ]
74+ branches: ["main", "master"]
7575
7676 # Run the action in a scheduled manner every hour.
7777 schedule:
78- - cron: ' 0 * * * *'
78+ - cron: " 0 * * * *"
7979
8080 # Allows you to run this workflow manually from the Actions tab.
8181 workflow_dispatch:
@@ -91,24 +91,24 @@ jobs:
9191 uses: elementary-data/[email protected] 9292 with:
9393 warehouse-type: bigquery # Type of warehouse to use (bigquery, snowflake, redshift, etc.)
94+ adapter-version: 1.5.0 # The dbt-adapter version that should be used (If not provided the latest version will be used).
9495 profiles-yml: ${{ secrets.ELEMENTARY_PROFILES_YML }} # Content of ~/.dbt/profiles.yml, should have an ` elementary` profile.
95- edr-command :
96- edr monitor
97- --slack-token "${{ secrets.SLACK_TOKEN }}"
98- --slack-channel-name "${{ secrets.SLACK_CHANNEL_NAME }}"
96+ edr-command : edr monitor
97+ --slack-token "${{ secrets.SLACK_TOKEN }}"
98+ --slack-channel-name "${{ secrets.SLACK_CHANNEL_NAME }}"
9999 &&
100100 edr report
101- --file-path "report.html"
101+ --file-path "report.html"
102102 &&
103103 edr send-report
104- --slack-token "${{ secrets.SLACK_TOKEN }}"
105- --slack-channel-name "${{ secrets.SLACK_CHANNEL_NAME }}"
106- --aws-access-key-id "${{ secrets.AWS_ACCESS_KEY_ID }}"
107- --aws-secret-access-key "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
108- --s3-bucket-name "${{ secrets.S3_BUCKET_NAME }}"
109- --google-service-account-path "/tmp/gcs_keyfile.json"
110- --gcs-bucket-name "${{ secrets.GCS_BUCKET_NAME }}"
111- --update-bucket-website "true"
104+ --slack-token "${{ secrets.SLACK_TOKEN }}"
105+ --slack-channel-name "${{ secrets.SLACK_CHANNEL_NAME }}"
106+ --aws-access-key-id "${{ secrets.AWS_ACCESS_KEY_ID }}"
107+ --aws-secret-access-key "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
108+ --s3-bucket-name "${{ secrets.S3_BUCKET_NAME }}"
109+ --google-service-account-path "/tmp/gcs_keyfile.json"
110+ --gcs-bucket-name "${{ secrets.GCS_BUCKET_NAME }}"
111+ --update-bucket-website "true"
112112
113113 bigquery-keyfile : ${{ secrets.BIGQUERY_KEYFILE }} # If using BigQuery, the content of its keyfile.
114114 gcs-keyfile : ${{ secrets.GCS_KEYFILE }} # If using GCS, the content of its keyfile.
@@ -131,7 +131,7 @@ jobs:
131131
132132### Elementary Profile
133133
134- Note that the ` profiles-yml` argument needs to be the **content** of `profiles.yml` rather than a path to it.
134+ Note that the ` profiles-yml` argument needs to be the **content** of `profiles.yml` rather than a path to it.
135135You can create a secret and then pass it.
136136
137137` ` ` yml
0 commit comments