Skip to content

Commit

Permalink
Add missing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
siddheshranade committed Jan 23, 2024
1 parent f926f37 commit 6fb7752
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/actions/check-for-CLA/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { Octokit } from "@octokit/core";
import { google } from "googleapis";
import Handlebars from "handlebars";
import fs from "fs-extra";

// TODO: remove hardcoded id; `id: process.env.PR_NUMBER`
const PULL_REQUST_INFO = {
Expand All @@ -16,6 +19,11 @@ const GOOGLE_SHEETS_INFO = {
corporateCLASheetId: '1dnoqifzpXB81G1V4bsVJYM3D19gXuwyVZZ-IgNgCkC8'
};

/* TODO: Change to actual link */
const LINKS = {
contributorsListURL: 'https://google.com'
};

const main = async () => {
console.log('main()');
console.log(PULL_REQUST_INFO.repoName, PULL_REQUST_INFO.owner, PULL_REQUST_INFO.username);
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
node-version: '20'
- name: install npm packages
run: npm install googleapis @octokit/core handlebars
run: npm install googleapis @octokit/core handlebars fs-extra
- name: run script
run: node .github/actions/check-for-CLA/index.js
env:
Expand Down

0 comments on commit 6fb7752

Please sign in to comment.