Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix(NP-92) Workflow env fixes #688

Merged
merged 2 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,7 @@ jobs:
pip3 install -r requirements.txt

- name: Execute versioning script
env:
JIRA_API_KEY: ${{ secrets.JIRA_API_KEY }}
working-directory: ./validator/scripts
run: python diff.py
4 changes: 1 addition & 3 deletions validator/scripts/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import os
import difflib
from bs4 import BeautifulSoup
from dotenv import load_dotenv
from jira import JIRA

"""This script looks through all major/concentration
Expand All @@ -13,8 +12,7 @@
requirement change information
"""

load_dotenv()
jira_api_key = os.getenv('JIRA_API_KEY')
jira_api_key = os.environ['JIRA_API_KEY']
major_json_path = "/home/runner/work/planner/planner/validator/degree_data"

#Extracts html from url and sends it to course extractor
Expand Down
Loading