Skip to content

Commit

Permalink
Removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ArpitShukla12 committed Oct 10, 2023
1 parent 63c7d59 commit 512a33c
Show file tree
Hide file tree
Showing 6 changed files with 19,377 additions and 8,959 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +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
# DBT_ENVIRONMENT_BRANCH_MAP: |
# main: DBT-DEMO-PROD
# beta: Wide World Importers PE1
# test-action: Wide World Importers PE1
IGNORE_MODEL_ALIAS_MATCHING: true
4 changes: 2 additions & 2 deletions adapters/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import dotenv from "dotenv";
import { runAction } from "./gateway.js";
import GitHubIntegration from "./integrations/github-integration.js";
// import GitLabIntegration from "./integrations/gitlab-integration.js";
import GitLabIntegration from "./integrations/gitlab-integration.js";
import core from "@actions/core";

dotenv.config();
Expand All @@ -14,7 +14,7 @@ async function run() {
//Add new integrations over here
console.log("oii");
await runAction(GITHUB_TOKEN, GitHubIntegration);
// await runAction(GITLAB_TOKEN, GitLabIntegration);
await runAction(GITLAB_TOKEN, GitLabIntegration);
}

run();
14 changes: 12 additions & 2 deletions adapters/integrations/github-integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import dotenv from "dotenv"; // Check do we actually need it or not
import IntegrationInterface from "./contract/contract.js";
import github from "@actions/github";
import { isIgnoreModelAliasMatching } from "../../src/utils/get-environment-variables.js";
import { getConnectorImage } from "../../src/utils/get-image-url.js";
import {
getCertificationImage,
getConnectorImage,
} from "../../src/utils/get-image-url.js";
import { getEnvironments } from "../../src/utils/get-environment-variables.js";
import stringify from "json-stringify-safe";
import {
Expand Down Expand Up @@ -71,7 +74,14 @@ export default class GitHubIntegration extends IntegrationInterface {
async printDownstreamAssets({ octokit, context }) {
//Done
console.log("Brother");
const changedFiles = await this.getChangedFiles({ octokit, context }); //Complete
// const changedFiles = await this.getChangedFiles({ octokit, context }); //Complete
var changedFiles = [
{
fileName: "instacart_beverages_order_customer",
filePath: "instacart_beverages_order_customer.sql",
status: "modified",
},
];
let comments = ``;
let totalChangedFiles = 0;

Expand Down
Loading

0 comments on commit 512a33c

Please sign in to comment.