mirror of
https://github.com/offa/android-foss.git
synced 2025-11-05 00:54:55 +05:30
Fix CI check
This commit is contained in:
parent
83f8bf5370
commit
e4efbb47dc
2 changed files with 4 additions and 2 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -101,4 +101,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue