First, install the necessary packages using requirements.txt
:
pip install -r requirements.txt
Create a .env file for environment variables and add the following line, replace with tour ADO token [The ADO token should have the following permissions: Code (Read & Write), Packaging (Read), Service Connections (Read & query), Work Items (Read)]:
PAT=<ADO_PERSONAL_ACCESS_TOKEN>
Finally, run the Python script test.py:
python generate_project_status.py