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');