Skip to content

Commit

Permalink
All the things
Browse files Browse the repository at this point in the history
  • Loading branch information
Forsyth-Creations committed Oct 25, 2023
1 parent f691e65 commit 184e808
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CI/test_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
cross = "\u2717"

username = "Forsyth-Creations"
token = os.getenv("GITHUB_TOKEN", None)
token = os.environ("GITHUB_TOKEN")

class TryTesting(TestCase):
def test_yaml_for_repo(self):
Expand All @@ -35,7 +35,7 @@ def test_yaml_for_repo(self):
api_url = f"https://api.github.com/repos/{repo_owner}/{repo_path}/branches/{branch}"
image_url = f"https://raw.githubusercontent.com/{repo_owner}/{repo_path}/{branch}/{image_name}"
# pull the image from the repo
r = requests.get(image_url, auth=(username,token))
r = requests.get(image_url, auth=(token))

# Check #1: Mentor is not none
if mentor is None:
Expand Down

0 comments on commit 184e808

Please sign in to comment.