Skip to content

Commit

Permalink
fix: debugging; skip hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaquiery committed Jul 12, 2024
1 parent bee7cc3 commit 83110d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

# Walk the directory and look for markdown files
for root, dirs, files in os.walk("."):
if root.startswith("."):
continue
for file in files:
print(f"Checking {root}/{file}")
# Attempt to open file, skip any that can't be read
Expand All @@ -42,6 +44,9 @@
yaml_fm = parse_yaml_frontmatter(content)
repository_url = yaml_fm.repository_url
language = yaml_fm.language

print(f"Found repository_url: {repository_url}")
print(f"Found language: {language}")

# If we have a repository_url, we can try to build the container
if repository_url:
Expand Down

0 comments on commit 83110d1

Please sign in to comment.