refactor(backend): Apply lint on autogpt_lib folder on backend/linter.py #2257
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Repo - PR Status Checker | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
status-check: | |
name: Check PR Status | |
runs-on: ubuntu-latest | |
steps: | |
# - name: Wait some time for all actions to start | |
# run: sleep 30 | |
- uses: actions/checkout@v4 | |
# with: | |
# fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install requests | |
- name: Check PR Status | |
run: | | |
echo "Current directory before running Python script:" | |
pwd | |
echo "Attempting to run Python script:" | |
python .github/workflows/scripts/check_actions_status.py | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |