2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-06-12 10:05:36 +00:00

Fix action ref (#115)

* add debug line

* add token

* remove old token ref

* move permission section

* clean inputs
This commit is contained in:
Matthias Mair
2023-01-29 21:18:40 +01:00
committed by GitHub
parent 007f04f9e9
commit 311c0904fa
2 changed files with 7 additions and 5 deletions

View File

@ -3,11 +3,12 @@ import os
from pathlib import Path
from urllib.request import urlopen, Request
inp_project = os.environ.get('PROJECT')
inp_author = os.environ.get('AUTHOR')
inp_project = os.environ.get('PROJECT').strip()
inp_author = os.environ.get('AUTHOR').strip()
file_name = Path(f'_repo/{inp_project}.md')
crowdin_projet_id = 452300
print(f'Collecting {inp_project} with {inp_author}...')
def get_data(url, key=None, default=0, auth=None):
"""Fetches data from remote endpoint"""