Files
AutoGPT/.github/workflows/repo-workflow-checker.yml
Nicholas Tindle 52010c691c ci(platform): gate E2E tests behind ci-ready PR label
The big-boi runner costs $1400/month. Gate E2E tests behind a `ci-ready`
label so they only run when a PR is actually ready for full CI. A new
`e2e-label-gate` job fails immediately on PRs without the label,
preventing merge via the existing "Check PR Status" aggregator. Push and
merge_group events bypass the gate so master/dev CI is unaffected.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 14:59:37 +02:00

33 lines
908 B
YAML

name: Repo - PR Status Checker
on:
pull_request:
types: [opened, synchronize, reopened, labeled]
merge_group:
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@v6
# 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 }}