mirror of
https://github.com/FlipsideCrypto/crosschain-models.git
synced 2026-02-06 17:36:53 +00:00
add: ephit (#187)
This commit is contained in:
parent
c2fc3c51a7
commit
e593eb27cb
@ -36,5 +36,5 @@ jobs:
|
||||
|
||||
- name: Run DBT Jobs
|
||||
run: |
|
||||
dbt run-operation get_github_repo_data --args "{GITHUB_TOKEN: '${{ secrets.GB_TOKEN }}', frequency: ['daily', 'weekly']}"
|
||||
dbt run-operation get_github_repo_data --args "{GITHUB_TOKEN: 'GB_TOKEN', frequency: ['daily', 'weekly']}"
|
||||
dbt run --model silver__github_activity
|
||||
|
||||
@ -36,5 +36,5 @@ jobs:
|
||||
|
||||
- name: Run DBT Jobs
|
||||
run: |
|
||||
dbt run-operation get_github_repo_data --args "{GITHUB_TOKEN: '${{ secrets.GB_TOKEN }}', frequency: ['last_year']}"
|
||||
dbt run-operation get_github_repo_data --args "{GITHUB_TOKEN: 'GB_TOKEN', frequency: ['last_year']}"
|
||||
dbt run --model silver__github_activity
|
||||
|
||||
@ -47,7 +47,7 @@ CREATE OR REPLACE PROCEDURE {{ target.database }}.bronze_api.get_github_api_repo
|
||||
WITH api_call AS (
|
||||
SELECT
|
||||
project_name,
|
||||
livequery_dev.live.udf_api('GET', CONCAT('https://api.github.com', full_endpoint), { 'Authorization': CONCAT('token ', '${TOKEN}'), 'Accept': 'application/vnd.github+json' },{}) AS res,
|
||||
livequery_dev.live.udf_api('GET', CONCAT('https://api.github.com', full_endpoint), { 'Authorization': CONCAT('token ', '{${TOKEN}}'), 'Accept': 'application/vnd.github+json'},{}, 'github_cred') AS res,
|
||||
CURRENT_TIMESTAMP AS _request_timestamp,
|
||||
repo_url,
|
||||
full_endpoint,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user