Skip to content

Commit

Permalink
Fix CI check
Browse files Browse the repository at this point in the history
  • Loading branch information
offa authored and Ammar64 committed Nov 7, 2024
1 parent 83f8bf5 commit e4efbb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
contents: read
name: Ensure sorted
steps:
- name: Checkout
uses: actions/checkout@main
- name: Ensure sorted
run: python3 ensure_sorted.py

4 changes: 2 additions & 2 deletions ensure_sorted.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def main():
categories.append(category)
# This is also a category
elif lines[i].startswith("## –"):
category_name = re.findall("(?<=##\s–\s).*?(?=\s–)", lines[i])[0]
category_name = re.findall("(?<=##\\s–\\s).*?(?=\\s–)", lines[i])[0]
category = Category(category_name)
categories.append(category)
# This is an app
Expand All @@ -101,4 +101,4 @@ def main():


if __name__ == "__main__":
main()
main()

0 comments on commit e4efbb4

Please sign in to comment.