mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-01-10 07:38:04 -05:00
* ci(all): fundamentally change how we do this * Update workflow-checker.yml * ci: dupe and move file in attempt to figure out why its not accessible * Update workflow-checker.yml * fix: sleep before checking, move files, improve code * Update workflow-checker.yml * Update check_actions_status.py * Update check_actions_status.py * Update workflow-checker.yml * Update workflow-checker.yml * ci: remove debug, add more * Update check_actions_status.py * Update check_actions_status.py * Update check_actions_status.py * Revert "Update check_actions_status.py" This reverts commit36134527af. * Revert "Update check_actions_status.py" This reverts commit828aabf532. * Update check_actions_status.py * Update check_actions_status.py * Update check_actions_status.py * Update check_actions_status.py
44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
name: 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: Debug Information
|
|
run: |
|
|
echo "Event name: ${{ github.event_name }}"
|
|
echo "Workflow: ${{ github.workflow }}"
|
|
echo "Action: ${{ github.action }}"
|
|
echo "Actor: ${{ github.actor }}"
|
|
echo "Repository: ${{ github.repository }}"
|
|
echo "Ref: ${{ github.ref }}"
|
|
echo "Head ref: ${{ github.head_ref }}"
|
|
echo "Base ref: ${{ github.base_ref }}"
|
|
echo "Event payload:"
|
|
cat $GITHUB_EVENT_PATH
|
|
- name: Check PR Status
|
|
run: |
|
|
echo "Current directory before running Python script:"
|
|
pwd
|
|
echo "Attempting to run Python script:"
|
|
python check_actions_status.py
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|