I try to invoke python script
python3 .github/scripts/fetch-teams.yml
shell: /bin/bash -e {0}
/home/docker/.pyenv/versions/3.9.1/bin/python3: can't open file '/home/docker/actions-runner/_work/tot-priqa-dev2/tot-priqa-dev2/.github/scripts/fetch-teams.yml': [Errno 2] No such file or directory
Error: Process completed with exit code 2.
I checked everything, inside .github/scripts
3377699720556402 -rw-r--r-- 1 E809446 1049089 1402 Jun 23 13:52 fetch-teams.yml
My workflow
steps:
How to fix this?
To access any files in your repository, the workflow first need to checkout this repository.
Add the following step above any steps that require accessing files from your repository:
- name: Checkout repository
uses: actions/checkout@v4
source of the underlying action: actions/checkout