From 0c41f2aaf141651ac8dbf08dd338bdca43dfe73a Mon Sep 17 00:00:00 2001 From: Adam Rensel Date: Wed, 5 May 2021 16:19:35 -0400 Subject: [PATCH] Clean up --- .github/workflows/main.yml | 3 +++ .github/workflows/src/app/octokit.js | 4 ++-- .github/workflows/src/index.js | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b8e62ecb..86845fd6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,3 +34,6 @@ jobs: env: AIRTABLE_SECRET: ${{ secrets.AIRTABLE_SECRET }} GH_SECRET: ${{ secrets.GH_SECRET }} + EDUCATION_WEB_KEY: ${{ secrets.EDUCATION_WEB_KEY }} + EDUCATION_WEB_SECRET: ${{ secrets.EDUCATION_WEB_SECRET }} + EDUCATION_WEB_API: ${{ secrets.EDUCATION_WEB_API }} diff --git a/.github/workflows/src/app/octokit.js b/.github/workflows/src/app/octokit.js index 6a2806ed..ea1d3308 100644 --- a/.github/workflows/src/app/octokit.js +++ b/.github/workflows/src/app/octokit.js @@ -41,8 +41,8 @@ class Octo { `, { - name: "GitHubGraduation-2021", - owner: "campus-experts", + name: process.env.REPO_NAME, + owner: process.env.REPO_OWNER, pr: pr } ) diff --git a/.github/workflows/src/index.js b/.github/workflows/src/index.js index 980e99c7..7f9dd8fa 100644 --- a/.github/workflows/src/index.js +++ b/.github/workflows/src/index.js @@ -26,7 +26,8 @@ if(!process.env.GITHUB_ACTIONS) { throw result.error } } else { - + process.env.REPO_NAME = "GitHubGraduation-2021", + owner: "campus-experts", } const airtable = require('./app/airtable.js'); -- knotmirror 0.0.1