Remove the usage of shared artifacts from the checks workflow (#2673)

This commit is contained in:
Joakim Sørensen
2024-08-27 13:29:48 +02:00
committed by GitHub
parent fff88bd7ab
commit 6b3eb9c270
2 changed files with 7 additions and 26 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
import asyncio
import os
from scripts.changed.repo import get_repo
from scripts.helpers.event import get_event
from scripts.remove_publishers import REMOVED_PUBLISHERS
from aiogithubapi import GitHub, AIOGitHubAPIException
@@ -11,7 +10,7 @@ TOKEN = os.getenv("GITHUB_TOKEN")
async def check():
print("Information: https://hacs.xyz/docs/publish/include#check-owner")
repo = get_repo()
repo = os.environ["REPOSITORY"]
event = get_event()
actor = event["pull_request"]["user"]["login"]
repo_owner = repo.split("/")[0].lower()