Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(all): take two on the global status checker #7849

Merged
merged 22 commits into from
Aug 22, 2024
Merged

ci(all): take two on the global status checker #7849

merged 22 commits into from
Aug 22, 2024

Conversation

ntindle
Copy link
Member

@ntindle ntindle commented Aug 20, 2024

User description

Background

we need a way to require checks to pass but we also want rules around that. Github Actions doesn't support the rules based requirements

Changes 🏗️

  • Fixes the checks scripts, and moves them
  • Changes the check yaml to be more better

PR Quality Scorecard ✨

  • Have you used the PR description template?   +2 pts
  • Is your pull request atomic, focusing on a single change?   +5 pts
  • Have you linked the GitHub issue(s) that this PR addresses?   +5 pts
  • Have you documented your changes clearly and comprehensively?   +5 pts
  • Have you changed or added a feature?   -4 pts
    • Have you added/updated corresponding documentation?   +4 pts
    • Have you added/updated corresponding integration tests?   +5 pts
  • Have you changed the behavior of AutoGPT?   -5 pts
    • Have you also run agbenchmark to verify that these changes do not regress performance?   +10 pts

PR Type

enhancement, configuration changes


Description

  • Implemented a retry mechanism in the check_actions_status.py script to handle in-progress check runs by introducing a loop and delay.
  • Changed the GitHub Actions workflow trigger from workflow_run to pull_request events to improve CI/CD efficiency.
  • Updated job and step names in the workflow for better clarity and understanding.

Changes walkthrough 📝

Relevant files
Enhancement
check_actions_status.py
Implement retry mechanism for GitHub check runs status     

.github/workflows/scripts/check_actions_status.py

  • Added a loop to wait for all check runs to complete.
  • Introduced a delay and retry mechanism for fetching check run status.
  • Improved logging for check run statuses.
  • +44/-14 
    Configuration changes
    workflow-checker.yml
    Update workflow trigger and job naming                                     

    .github/workflows/workflow-checker.yml

  • Changed trigger from workflow_run to pull_request events.
  • Updated job and step names for clarity.
  • +4/-6     

    💡 PR-Agent usage:
    Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

    @ntindle ntindle requested a review from a team as a code owner August 20, 2024 19:00
    Copy link

    PR Description updated to latest commit (71e95d1)

    Copy link

    netlify bot commented Aug 20, 2024

    Deploy Preview for auto-gpt-docs canceled.

    Name Link
    🔨 Latest commit c0062ce
    🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/66c643217a54370008922982

    Copy link

    codiumai-pr-agent-pro bot commented Aug 20, 2024

    CI Failure Feedback 🧐

    (Checks updated until commit a07c980)

    Action: Check PR Status

    Failed stage: [❌]

    Failed test name: Check PR Status

    Failure summary:

    The action failed because the check run Check PR Status is still in progress. The log indicates that
    the system is waiting for this check to complete before proceeding, but it has not yet finished.

    Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    5147:  Data received from API: {'total_count': 11, 'check_runs': [{'id': 29020912984, 'name': 'CodeQL', 'node_id': 'CR_kwDOJKSTjM8AAAAGwcf9WA', 'head_sha': 'b400f6067e140e8c4b8b7cda30d2ba953e6d345c', 'external_id': '', 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020912984', 'html_url': 'https://github.com/Significant-Gravitas/AutoGPT/runs/29020912984', 'details_url': 'https://github.com/Significant-Gravitas/AutoGPT/runs/29020912984', 'status': 'completed', 'conclusion': 'success', 'started_at': '2024-08-20T19:44:50Z', 'completed_at': '2024-08-20T19:44:53Z', 'output': {'title': 'No new alerts in code changed by this pull request', 'summary': '[View all branch alerts](/Significant-Gravitas/AutoGPT/security/code-scanning?query=pr%3A7849+tool%3ACodeQL+is%3Aopen).', 'text': None, 'annotations_count': 0, 'annotations_url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020912984/annotations'}, 'check_suite': {'id': 27397072562}, 'app': {'id': 57789, 'slug': 'github-advanced-security', 'node_id': 'MDM6QXBwNTc3ODk=', 'owner': {'login': 'github', 'id': 9919, 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjk5MTk=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9919?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/github', 'html_url': 'https://github.com/github', 'followers_url': 'https://api.github.com/users/github/followers', 'following_url': 'https://api.github.com/users/github/following{/other_user}', 'gists_url': 'https://api.github.com/users/github/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/github/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/github/subscriptions', 'organizations_url': 'https://api.github.com/users/github/orgs', 'repos_url': 'https://api.github.com/users/github/repos', 'events_url': 'https://api.github.com/users/github/events{/privacy}', 'received_events_url': 'https://api.github.com/users/github/received_events', 'type': 'Organization', 'site_admin': False}, 'name': 'GitHub Advanced Security', 'description': '', 'external_url': 'https://github.com/features/security', 'html_url': 'https://github.com/apps/github-advanced-security', 'created_at': '2020-03-17T21:25:09Z', 'updated_at': '2024-07-11T07:30:47Z', 'permissions': {'actions': 'read', 'checks': 'write', 'contents': 'read', 'metadata': 'read'}, 'events': []}, 'pull_requests': [{'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/pulls/7849', 'id': 2028276859, 'number': 7849, 'head': {'ref': 'ntindle/checks', 'sha': 'a07c98084228288f5d42ec750c0be689361a7562', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}, 'base': {'ref': 'master', 'sha': '52d40d0f8bdbf18c024977447843bf14cb7b0075', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}}]}, {'id': 29020826200, 'name': 'Redirect rules - auto-gpt-docs', 'node_id': 'CR_kwDOJKSTjM8AAAAGwcaqWA', 'head_sha': 'b400f6067e140e8c4b8b7cda30d2ba953e6d345c', 'external_id': '66c4f1a089d3c30008f7300f', 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020826200', 'html_url': 'https://github.com/Significant-Gravitas/AutoGPT/runs/29020826200', 'details_url': 'https://app.netlify.com/sites/auto-gpt-docs/deploys/66c4f1a089d3c30008f7300f', 'status': 'completed', 'conclusion': 'neutral', 'started_at': '2024-08-20T19:42:36Z', 'completed_at': '2024-08-20T19:42:43Z', 'output': {'title': 'Deploy canceled', 'summary': 'Please check [the logs](https://app.netlify.com/sites/auto-gpt-docs/deploys/66c4f1a089d3c30008f7300f).', 'text': None, 'annotations_count': 0, 'annotations_url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020826200/annotations'}, 'check_suite': {'id': 27396985423}, 'app': {'id': 13473, 'slug': 'netlify', 'node_id': 'MDM6QXBwMTM0NzM=', 'owner': {'login': 'netlify', 'id': 7892489, 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjc4OTI0ODk=', 'avatar_url': 'https://avatars.githubusercontent.com/u/7892489?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/netlify', 'html_url': 'https://github.com/netlify', 'followers_url': 'https://api.github.com/users/netlify/followers', 'following_url': 'https://api.github.com/users/netlify/following{/other_user}', 'gists_url': 'https://api.github.com/users/netlify/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/netlify/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/netlify/subscriptions', 'organizations_url': 'https://api.github.com/users/netlify/orgs', 'repos_url': 'https://api.github.com/users/netlify/repos', 'events_url': 'https://api.github.com/users/netlify/events{/privacy}', 'received_events_url': 'https://api.github.com/users/netlify/received_events', 'type': 'Organization', 'site_admin': False}, 'name': 'Netlify', 'description': 'Publish incredibly high performance websites and applications right from GitHub. The Netlify platform connects your repositories to an all-in-one workflow for global CDN deployment, continuous integration, and automatic (and free) HTTPS. Each time you commit changes, Netlify builds your site, prerenders markup, and optimizes assets on dedicated build infrastructure. Easily create an entirely automated workflow around any site generator such as Jekyll, Hugo, or Gatsby.\r\n\r\n## Features\r\n\r\n### Push your site live, directly from GitHub\r\nDeploy your site to an ultra-redundant global CDN that’s purpose built for serving pages and assets quickly and consistently.\r\n\r\n### Automate deployment\r\nNetlify’s built-in Continuous Deployment automatically runs your build commands and deploys the result whenever you push to your Git repository.\r\n\r\n### Add a custom domain\r\nPurchase domains and manage DNS zones and records right inside of Netlify.\r\n\r\n### HTTPS is automatic\r\nYour site will automatically be secured with a free TLS certificate from Let’s Encrypt.\r\n\r\n### Deploy Previews\r\nNetlify’s Deploy Previews streamlined your workflow by giving you a unique, permanent URL to check what your changes will be like in production whenever you submit a pull request.\r\n\r\n### And a lot more!\r\nNetlify includes solutions for forms, identity, and even custom functions powered by AWS Lambda. And all this functionality can be configured directly in your repo.\r\n', 'external_url': 'https://www.netlify.com', 'html_url': 'https://github.com/apps/netlify', 'created_at': '2018-06-12T15:16:51Z', 'updated_at': '2023-03-08T17:02:55Z', 'permissions': {'checks': 'write', 'contents': 'read', 'emails': 'read', 'issues': 'write', 'metadata': 'read', 'pull_requests': 'write', 'statuses': 'write'}, 'events': ['create', 'delete', 'issue_comment', 'pull_request', 'pull_request_review', 'pull_request_review_comment', 'push']}, 'pull_requests': [{'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/pulls/7849', 'id': 2028276859, 'number': 7849, 'head': {'ref': 'ntindle/checks', 'sha': 'a07c98084228288f5d42ec750c0be689361a7562', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}, 'base': {'ref': 'master', 'sha': '52d40d0f8bdbf18c024977447843bf14cb7b0075', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}}]}, {'id': 29020826077, 'name': 'Header rules - auto-gpt-docs', 'node_id': 'CR_kwDOJKSTjM8AAAAGwcap3Q', 'head_sha': 'b400f6067e140e8c4b8b7cda30d2ba953e6d345c', 'external_id': '66c4f1a089d3c30008f7300f', 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020826077', 'html_url': 'https://github.com/Significant-Gravitas/AutoGPT/runs/29020826077', 'details_url': 'https://app.netlify.com/sites/auto-gpt-docs/deploys/66c4f1a089d3c30008f7300f', 'status': 'completed', 'conclusion': 'neutral', 'started_at': '2024-08-20T19:42:36Z', 'completed_at': '2024-08-20T19:42:43Z', 'output': {'title': 'Deploy canceled', 'summary': 'Please check [the logs](https://app.netlify.com/sites/auto-gpt-docs/deploys/66c4f1a089d3c30008f7300f).', 'text': None, 'annotations_count': 0, 'annotations_url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020826077/annotations'}, 'check_suite': {'id': 27396985423}, 'app': {'id': 13473, 'slug': 'netlify', 'node_id': 'MDM6QXBwMTM0NzM=', 'owner': {'login': 'netlify', 'id': 7892489, 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjc4OTI0ODk=', 'avatar_url': 'https://avatars.githubusercontent.com/u/7892489?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/netlify', 'html_url': 'https://github.com/netlify', 'followers_url': 'https://api.github.com/users/netlify/followers', 'following_url': 'https://api.github.com/users/netlify/following{/other_user}', 'gists_url': 'https://api.github.com/users/netlify/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/netlify/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/netlify/subscriptions', 'organizations_url': 'https://api.github.com/users/netlify/orgs', 'repos_url': 'https://api.github.com/users/netlify/repos', 'events_url': 'https://api.github.com/users/netlify/events{/privacy}', 'received_events_url': 'https://api.github.com/users/netlify/received_events', 'type': 'Organization', 'site_admin': False}, 'name': 'Netlify', 'description': 'Publish incredibly high performance websites and applications right from GitHub. The Netlify platform connects your repositories to an all-in-one workflow for global CDN deployment, continuous integration, and automatic (and free) HTTPS. Each time you commit changes, Netlify builds your site, prerenders markup, and optimizes assets on dedicated build infrastructure. Easily create an entirely automated workflow around any site generator such as Jekyll, Hugo, or Gatsby.\r\n\r\n## Features\r\n\r\n### Push your site live, directly from GitHub\r\nDeploy your site to an ultra-redundant global CDN that’s purpose built for serving pages and assets quickly and consistently.\r\n\r\n### Automate deployment\r\nNetlify’s built-in Continuous Deployment automatically runs your build commands and deploys the result whenever you push to your Git repository.\r\n\r\n### Add a custom domain\r\nPurchase domains and manage DNS zones and records right inside of Netlify.\r\n\r\n### HTTPS is automatic\r\nYour site will automatically be secured with a free TLS certificate from Let’s Encrypt.\r\n\r\n### Deploy Previews\r\nNetlify’s Deploy Previews streamlined your workflow by giving you a unique, permanent URL to check what your changes will be like in production whenever you submit a pull request.\r\n\r\n### And a lot more!\r\nNetlify includes solutions for forms, identity, and even custom functions powered by AWS Lambda. And all this functionality can be configured directly in your repo.\r\n', 'external_url': 'https://www.netlify.com', 'html_url': 'https://github.com/apps/netlify', 'created_at': '2018-06-12T15:16:51Z', 'updated_at': '2023-03-08T17:02:55Z', 'permissions': {'checks': 'write', 'contents': 'read', 'emails': 'read', 'issues': 'write', 'metadata': 'read', 'pull_requests': 'write', 'statuses': 'write'}, 'events': ['create', 'delete', 'issue_comment', 'pull_request', 'pull_request_review', 'pull_request_review_comment', 'push']}, 'pull_requests': [{'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/pulls/7849', 'id': 2028276859, 'number': 7849, 'head': {'ref': 'ntindle/checks', 'sha': 'a07c98084228288f5d42ec750c0be689361a7562', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}, 'base': {'ref': 'master', 'sha': '52d40d0f8bdbf18c024977447843bf14cb7b0075', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}}]}, {'id': 29020825943, 'name': 'Pages changed - auto-gpt-docs', 'node_id': 'CR_kwDOJKSTjM8AAAAGwcapVw', 'head_sha': 'b400f6067e140e8c4b8b7cda30d2ba953e6d345c', 'external_id': '66c4f1a089d3c30008f7300f', 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020825943', 'html_url': 'https://github.com/Significant-Gravitas/AutoGPT/runs/29020825943', 'details_url': 'https://app.netlify.com/sites/auto-gpt-docs/deploys/66c4f1a089d3c30008f7300f', 'status': 'completed', 'conclusion': 'neutral', 'started_at': '2024-08-20T19:42:36Z', 'completed_at': '2024-08-20T19:42:43Z', 'output': {'title': 'Deploy canceled', 'summary': 'Please check [the logs](https://app.netlify.com/sites/auto-gpt-docs/deploys/66c4f1a089d3c30008f7300f).', 'text': None, 'annotations_count': 0, 'annotations_url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020825943/annotations'}, 'check_suite': {'id': 27396985423}, 'app': {'id': 13473, 'slug': 'netlify', 'node_id': 'MDM6QXBwMTM0NzM=', 'owner': {'login': 'netlify', 'id': 7892489, 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjc4OTI0ODk=', 'avatar_url': 'https://avatars.githubusercontent.com/u/7892489?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/netlify', 'html_url': 'https://github.com/netlify', 'followers_url': 'https://api.github.com/users/netlify/followers', 'following_url': 'https://api.github.com/users/netlify/following{/other_user}', 'gists_url': 'https://api.github.com/users/netlify/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/netlify/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/netlify/subscriptions', 'organizations_url': 'https://api.github.com/users/netlify/orgs', 'repos_url': 'https://api.github.com/users/netlify/repos', 'events_url': 'https://api.github.com/users/netlify/events{/privacy}', 'received_events_url': 'https://api.github.com/users/netlify/received_events', 'type': 'Organization', 'site_admin': False}, 'name': 'Netlify', 'description': 'Publish incredibly high performance websites and applications right from GitHub. The Netlify platform connects your repositories to an all-in-one workflow for global CDN deployment, continuous integration, and automatic (and free) HTTPS. Each time you commit changes, Netlify builds your site, prerenders markup, and optimizes assets on dedicated build infrastructure. Easily create an entirely automated workflow around any site generator such as Jekyll, Hugo, or Gatsby.\r\n\r\n## Features\r\n\r\n### Push your site live, directly from GitHub\r\nDeploy your site to an ultra-redundant global CDN that’s purpose built for serving pages and assets quickly and consistently.\r\n\r\n### Automate deployment\r\nNetlify’s built-in Continuous Deployment automatically runs your build commands and deploys the result whenever you push to your Git repository.\r\n\r\n### Add a custom domain\r\nPurchase domains and manage DNS zones and records right inside of Netlify.\r\n\r\n### HTTPS is automatic\r\nYour site will automatically be secured with a free TLS certificate from Let’s Encrypt.\r\n\r\n### Deploy Previews\r\nNetlify’s Deploy Previews streamlined your workflow by giving you a unique, permanent URL to check what your changes will be like in production whenever you submit a pull request.\r\n\r\n### And a lot more!\r\nNetlify includes solutions for forms, identity, and even custom functions powered by AWS Lambda. And all this functionality can be configured directly in your repo.\r\n', 'external_url': 'https://www.netlify.com', 'html_url': 'https://github.com/apps/netlify', 'created_at': '2018-06-12T15:16:51Z', 'updated_at': '2023-03-08T17:02:55Z', 'permissions': {'checks': 'write', 'contents': 'read', 'emails': 'read', 'issues': 'write', 'metadata': 'read', 'pull_requests': 'write', 'statuses': 'write'}, 'events': ['create', 'delete', 'issue_comment', 'pull_request', 'pull_request_review', 'pull_request_review_comment', 'push']}, 'pull_requests': [{'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/pulls/7849', 'id': 2028276859, 'number': 7849, 'head': {'ref': 'ntindle/checks', 'sha': 'a07c98084228288f5d42ec750c0be689361a7562', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}, 'base': {'ref': 'master', 'sha': '52d40d0f8bdbf18c024977447843bf14cb7b0075', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}}]}, {'id': 29020820329, 'name': 'Analyze (python)', 'node_id': 'CR_kwDOJKSTjM8AAAAGwcaTaQ', 'head_sha': 'b400f6067e140e8c4b8b7cda30d2ba953e6d345c', 'external_id': 'ef639e83-3f2e-5eaa-e878-4d86a96e66c2', 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020820329', 'html_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478144085/job/29020820329', 'details_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478144085/job/29020820329', 'status': 'completed', 'conclusion': 'success', 'started_at': '2024-08-20T19:42:33Z', 'completed_at': '2024-08-20T19:44:58Z', 'output': {'title': None, 'summary': None, 'text': None, 'annotations_count': 0, 'annotations_url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020820329/annotations'}, 'check_suite': {'id': 27396987090}, 'app': {'id': 15368, 'slug': 'github-actions', 'node_id': 'MDM6QXBwMTUzNjg=', 'owner': {'login': 'github', 'id': 9919, 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjk5MTk=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9919?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/github', 'html_url': 'https://github.com/github', 'followers_url': 'https://api.github.com/users/github/followers', 'following_url': 'https://api.github.com/users/github/following{/other_user}', 'gists_url': 'https://api.github.com/users/github/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/github/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/github/subscriptions', 'organizations_url': 'https://api.github.com/users/github/orgs', 'repos_url': 'https://api.github.com/users/github/repos', 'events_url': 'https://api.github.com/users/github/events{/privacy}', 'received_events_url': 'https://api.github.com/users/github/received_events', 'type': 'Organization', 'site_admin': False}, 'name': 'GitHub Actions', 'description': 'Automate your workflow from idea to production', 'external_url': 'https://help.github.com/en/actions', 'html_url': 'https://github.com/apps/github-actions', 'created_at': '2018-07-30T09:30:17Z', 'updated_at': '2024-04-10T20:33:16Z', 'permissions': {'actions': 'write', 'administration': 'read', 'attestations': 'write', 'checks': 'write', 'contents': 'write', 'deployments': 'write', 'discussions': 'write', 'issues': 'write', 'merge_queues': 'write', 'metadata': 'read', 'packages': 'write', 'pages': 'write', 'pull_requests': 'write', 'repository_hooks': 'write', 'repository_projects': 'write', 'security_events': 'write', 'statuses': 'write', 'vulnerability_alerts': 'read'}, 'events': ['branch_protection_rule', 'check_run', 'check_suite', 'create', 'delete', 'deployment', 'deployment_status', 'discussion', 'discussion_comment', 'fork', 'gollum', 'issues', 'issue_comment', 'label', 'merge_group', 'milestone', 'page_build', 'project', 'project_card', 'project_column', 'public', 'pull_request', 'pull_request_review', 'pull_request_review_comment', 'push', 'registry_package', 'release', 'repository', 'repository_dispatch', 'status', 'watch', 'workflow_dispatch', 'workflow_run']}, 'pull_requests': []}, {'id': 29020819928, 'name': 'Analyze (javascript)', 'node_id': 'CR_kwDOJKSTjM8AAAAGwcaR2A', 'head_sha': 'b400f6067e140e8c4b8b7cda30d2ba953e6d345c', 'external_id': 'fcc11df8-4fa2-5761-4733-8e550f8a089f', 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020819928', 'html_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478144085/job/29020819928', 'details_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478144085/job/29020819928', 'status': 'completed', 'conclusion': 'success', 'started_at': '2024-08-20T19:42:33Z', 'completed_at': '2024-08-20T19:55:46Z', 'output': {'title': None, 'summary': None, 'text': None, 'annotations_count': 0, 'annotations_url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020819928/annotations'}, 'check_suite': {'id': 27396987090}, 'app': {'id': 15368, 'slug': 'github-actions', 'node_id': 'MDM6QXBwMTUzNjg=', 'owner': {'login': 'github', 'id': 9919, 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjk5MTk=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9919?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/github', 'html_url': 'https://github.com/github', 'followers_url': 'https://api.github.com/users/github/followers', 'following_url': 'https://api.github.com/users/github/following{/other_user}', 'gists_url': 'https://api.github.com/users/github/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/github/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/github/subscriptions', 'organizations_url': 'https://api.github.com/users/github/orgs', 'repos_url': 'https://api.github.com/users/github/repos', 'events_url': 'https://api.github.com/users/github/events{/privacy}', 'received_events_url': 'https://api.github.com/users/github/received_events', 'type': 'Organization', 'site_admin': False}, 'name': 'GitHub Actions', 'description': 'Automate your workflow from idea to production', 'external_url': 'https://help.github.com/en/actions', 'html_url': 'https://github.com/apps/github-actions', 'created_at': '2018-07-30T09:30:17Z', 'updated_at': '2024-04-10T20:33:16Z', 'permissions': {'actions': 'write', 'administration': 'read', 'attestations': 'write', 'checks': 'write', 'contents': 'write', 'deployments': 'write', 'discussions': 'write', 'issues': 'write', 'merge_queues': 'write', 'metadata': 'read', 'packages': 'write', 'pages': 'write', 'pull_requests': 'write', 'repository_hooks': 'write', 'repository_projects': 'write', 'security_events': 'write', 'statuses': 'write', 'vulnerability_alerts': 'read'}, 'events': ['branch_protection_rule', 'check_run', 'check_suite', 'create', 'delete', 'deployment', 'deployment_status', 'discussion', 'discussion_comment', 'fork', 'gollum', 'issues', 'issue_comment', 'label', 'merge_group', 'milestone', 'page_build', 'project', 'project_card', 'project_column', 'public', 'pull_request', 'pull_request_review', 'pull_request_review_comment', 'push', 'registry_package', 'release', 'repository', 'repository_dispatch', 'status', 'watch', 'workflow_dispatch', 'workflow_run']}, 'pull_requests': []}, {'id': 29020819260, 'name': 'get-changed-parts', 'node_id': 'CR_kwDOJKSTjM8AAAAGwcaPPA', 'head_sha': 'b400f6067e140e8c4b8b7cda30d2ba953e6d345c', 'external_id': '4af6e3c3-b1c2-57ff-95b3-6dd2c6b74333', 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020819260', 'html_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478144000/job/29020819260', 'details_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478144000/job/29020819260', 'status': 'completed', 'conclusion': 'success', 'started_at': '2024-08-20T19:42:33Z', 'completed_at': '2024-08-20T19:42:41Z', 'output': {'title': None, 'summary': None, 'text': None, 'annotations_count': 0, 'annotations_url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020819260/annotations'}, 'check_suite': {'id': 27396986842}, 'app': {'id': 15368, 'slug': 'github-actions', 'node_id': 'MDM6QXBwMTUzNjg=', 'owner': {'login': 'github', 'id': 9919, 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjk5MTk=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9919?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/github', 'html_url': 'https://github.com/github', 'followers_url': 'https://api.github.com/users/github/followers', 'following_url': 'https://api.github.com/users/github/following{/other_user}', 'gists_url': 'https://api.github.com/users/github/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/github/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/github/subscriptions', 'organizations_url': 'https://api.github.com/users/github/orgs', 'repos_url': 'https://api.github.com/users/github/repos', 'events_url': 'https://api.github.com/users/github/events{/privacy}', 'received_events_url': 'https://api.github.com/users/github/received_events', 'type': 'Organization', 'site_admin': False}, 'name': 'GitHub Actions', 'description': 'Automate your workflow from idea to production', 'external_url': 'https://help.github.com/en/actions', 'html_url': 'https://github.com/apps/github-actions', 'created_at': '2018-07-30T09:30:17Z', 'updated_at': '2024-04-10T20:33:16Z', 'permissions': {'actions': 'write', 'administration': 'read', 'attestations': 'write', 'checks': 'write', 'contents': 'write', 'deployments': 'write', 'discussions': 'write', 'issues': 'write', 'merge_queues': 'write', 'metadata': 'read', 'packages': 'write', 'pages': 'write', 'pull_requests': 'write', 'repository_hooks': 'write', 'repository_projects': 'write', 'security_events': 'write', 'statuses': 'write', 'vulnerability_alerts': 'read'}, 'events': ['branch_protection_rule', 'check_run', 'check_suite', 'create', 'delete', 'deployment', 'deployment_status', 'discussion', 'discussion_comment', 'fork', 'gollum', 'issues', 'issue_comment', 'label', 'merge_group', 'milestone', 'page_build', 'project', 'project_card', 'project_column', 'public', 'pull_request', 'pull_request_review', 'pull_request_review_comment', 'push', 'registry_package', 'release', 'repository', 'repository_dispatch', 'status', 'watch', 'workflow_dispatch', 'workflow_run']}, 'pull_requests': [{'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/pulls/7849', 'id': 2028276859, 'number': 7849, 'head': {'ref': 'ntindle/checks', 'sha': 'a07c98084228288f5d42ec750c0be689361a7562', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}, 'base': {'ref': 'master', 'sha': '52d40d0f8bdbf18c024977447843bf14cb7b0075', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}}]}, {'id': 29020819258, 'name': 'scope', 'node_id': 'CR_kwDOJKSTjM8AAAAGwcaPOg', 'head_sha': 'b400f6067e140e8c4b8b7cda30d2ba953e6d345c', 'external_id': '2a8a3333-7236-5647-efc9-eaa941f20cc8', 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020819258', 'html_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478143912/job/29020819258', 'details_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478143912/job/29020819258', 'status': 'completed', 'conclusion': 'success', 'started_at': '2024-08-20T19:42:32Z', 'completed_at': '2024-08-20T19:42:34Z', 'output': {'title': None, 'summary': None, 'text': None, 'annotations_count': 0, 'annotations_url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020819258/annotations'}, 'check_suite': {'id': 27396986616}, 'app': {'id': 15368, 'slug': 'github-actions', 'node_id': 'MDM6QXBwMTUzNjg=', 'owner': {'login': 'github', 'id': 9919, 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjk5MTk=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9919?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/github', 'html_url': 'https://github.com/github', 'followers_url': 'https://api.github.com/users/github/followers', 'following_url': 'https://api.github.com/users/github/following{/other_user}', 'gists_url': 'https://api.github.com/users/github/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/github/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/github/subscriptions', 'organizations_url': 'https://api.github.com/users/github/orgs', 'repos_url': 'https://api.github.com/users/github/repos', 'events_url': 'https://api.github.com/users/github/events{/privacy}', 'received_events_url': 'https://api.github.com/users/github/received_events', 'type': 'Organization', 'site_admin': False}, 'name': 'GitHub Actions', 'description': 'Automate your workflow from idea to production', 'external_url': 'https://help.github.com/en/actions', 'html_url': 'https://github.com/apps/github-actions', 'created_at': '2018-07-30T09:30:17Z', 'updated_at': '2024-04-10T20:33:16Z', 'permissions': {'actions': 'write', 'administration': 'read', 'attestations': 'write', 'checks': 'write', 'contents': 'write', 'deployments': 'write', 'discussions': 'write', 'issues': 'write', 'merge_queues': 'write', 'metadata': 'read', 'packages': 'write', 'pages': 'write', 'pull_requests': 'write', 'repository_hooks': 'write', 'repository_projects': 'write', 'security_events': 'write', 'statuses': 'write', 'vulnerability_alerts': 'read'}, 'events': ['branch_protection_rule', 'check_run', 'check_suite', 'create', 'delete', 'deployment', 'deployment_status', 'discussion', 'discussion_comment', 'fork', 'gollum', 'issues', 'issue_comment', 'label', 'merge_group', 'milestone', 'page_build', 'project', 'project_card', 'project_column', 'public', 'pull_request', 'pull_request_review', 'pull_request_review_comment', 'push', 'registry_package', 'release', 'repository', 'repository_dispatch', 'status', 'watch', 'workflow_dispatch', 'workflow_run']}, 'pull_requests': [{'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/pulls/7849', 'id': 2028276859, 'number': 7849, 'head': {'ref': 'ntindle/checks', 'sha': 'a07c98084228288f5d42ec750c0be689361a7562', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}, 'base': {'ref': 'master', 'sha': '52d40d0f8bdbf18c024977447843bf14cb7b0075', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}}]}, {'id': 29020818990, 'name': 'size', 'node_id': 'CR_kwDOJKSTjM8AAAAGwcaOLg', 'head_sha': 'b400f6067e140e8c4b8b7cda30d2ba953e6d345c', 'external_id': 'df21b7f2-6f71-5737-2f6f-62bf70ab0509', 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020818990', 'html_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478143912/job/29020818990', 'details_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478143912/job/29020818990', 'status': 'completed', 'conclusion': 'success', 'started_at': '2024-08-20T19:42:32Z', 'completed_at': '2024-08-20T19:42:38Z', 'output': {'title': None, 'summary': None, 'text': None, 'annotations_count': 0, 'annotations_url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020818990/annotations'}, 'check_suite': {'id': 27396986616}, 'app': {'id': 15368, 'slug': 'github-actions', 'node_id': 'MDM6QXBwMTUzNjg=', 'owner': {'login': 'github', 'id': 9919, 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjk5MTk=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9919?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/github', 'html_url': 'https://github.com/github', 'followers_url': 'https://api.github.com/users/github/followers', 'following_url': 'https://api.github.com/users/github/following{/other_user}', 'gists_url': 'https://api.github.com/users/github/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/github/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/github/subscriptions', 'organizations_url': 'https://api.github.com/users/github/orgs', 'repos_url': 'https://api.github.com/users/github/repos', 'events_url': 'https://api.github.com/users/github/events{/privacy}', 'received_events_url': 'https://api.github.com/users/github/received_events', 'type': 'Organization', 'site_admin': False}, 'name': 'GitHub Actions', 'description': 'Automate your workflow from idea to production', 'external_url': 'https://help.github.com/en/actions', 'html_url': 'https://github.com/apps/github-actions', 'created_at': '2018-07-30T09:30:17Z', 'updated_at': '2024-04-10T20:33:16Z', 'permissions': {'actions': 'write', 'administration': 'read', 'attestations': 'write', 'checks': 'write', 'contents': 'write', 'deployments': 'write', 'discussions': 'write', 'issues': 'write', 'merge_queues': 'write', 'metadata': 'read', 'packages': 'write', 'pages': 'write', 'pull_requests': 'write', 'repository_hooks': 'write', 'repository_projects': 'write', 'security_events': 'write', 'statuses': 'write', 'vulnerability_alerts': 'read'}, 'events': ['branch_protection_rule', 'check_run', 'check_suite', 'create', 'delete', 'deployment', 'deployment_status', 'discussion', 'discussion_comment', 'fork', 'gollum', 'issues', 'issue_comment', 'label', 'merge_group', 'milestone', 'page_build', 'project', 'project_card', 'project_column', 'public', 'pull_request', 'pull_request_review', 'pull_request_review_comment', 'push', 'registry_package', 'release', 'repository', 'repository_dispatch', 'status', 'watch', 'workflow_dispatch', 'workflow_run']}, 'pull_requests': [{'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/pulls/7849', 'id': 2028276859, 'number': 7849, 'head': {'ref': 'ntindle/checks', 'sha': 'a07c98084228288f5d42ec750c0be689361a7562', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}, 'base': {'ref': 'master', 'sha': '52d40d0f8bdbf18c024977447843bf14cb7b0075', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}}]}, {'id': 29020818504, 'name': 'conflicts', 'node_id': 'CR_kwDOJKSTjM8AAAAGwcaMSA', 'head_sha': 'b400f6067e140e8c4b8b7cda30d2ba953e6d345c', 'external_id': '35bd474a-8b23-534e-4f99-c391fccfdfb6', 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020818504', 'html_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478143912/job/29020818504', 'details_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478143912/job/29020818504', 'status': 'completed', 'conclusion': 'success', 'started_at': '2024-08-20T19:42:33Z', 'completed_at': '2024-08-20T19:42:36Z', 'output': {'title': None, 'summary': None, 'text': None, 'annotations_count': 1, 'annotations_url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020818504/annotations'}, 'check_suite': {'id': 27396986616}, 'app': {'id': 15368, 'slug': 'github-actions', 'node_id': 'MDM6QXBwMTUzNjg=', 'owner': {'login': 'github', 'id': 9919, 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjk5MTk=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9919?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/github', 'html_url': 'https://github.com/github', 'followers_url': 'https://api.github.com/users/github/followers', 'following_url': 'https://api.github.com/users/github/following{/other_user}', 'gists_url': 'https://api.github.com/users/github/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/github/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/github/subscriptions', 'organizations_url': 'https://api.github.com/users/github/orgs', 'repos_url': 'https://api.github.com/users/github/repos', 'events_url': 'https://api.github.com/users/github/events{/privacy}', 'received_events_url': 'https://api.github.com/users/github/received_events', 'type': 'Organization', 'site_admin': False}, 'name': 'GitHub Actions', 'description': 'Automate your workflow from idea to production', 'external_url': 'https://help.github.com/en/actions', 'html_url': 'https://github.com/apps/github-actions', 'created_at': '2018-07-30T09:30:17Z', 'updated_at': '2024-04-10T20:33:16Z', 'permissions': {'actions': 'write', 'administration': 'read', 'attestations': 'write', 'checks': 'write', 'contents': 'write', 'deployments': 'write', 'discussions': 'write', 'issues': 'write', 'merge_queues': 'write', 'metadata': 'read', 'packages': 'write', 'pages': 'write', 'pull_requests': 'write', 'repository_hooks': 'write', 'repository_projects': 'write', 'security_events': 'write', 'statuses': 'write', 'vulnerability_alerts': 'read'}, 'events': ['branch_protection_rule', 'check_run', 'check_suite', 'create', 'delete', 'deployment', 'deployment_status', 'discussion', 'discussion_comment', 'fork', 'gollum', 'issues', 'issue_comment', 'label', 'merge_group', 'milestone', 'page_build', 'project', 'project_card', 'project_column', 'public', 'pull_request', 'pull_request_review', 'pull_request_review_comment', 'push', 'registry_package', 'release', 'repository', 'repository_dispatch', 'status', 'watch', 'workflow_dispatch', 'workflow_run']}, 'pull_requests': [{'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/pulls/7849', 'id': 2028276859, 'number': 7849, 'head': {'ref': 'ntindle/checks', 'sha': 'a07c98084228288f5d42ec750c0be689361a7562', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}, 'base': {'ref': 'master', 'sha': '52d40d0f8bdbf18c024977447843bf14cb7b0075', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}}]}, {'id': 29020818453, 'name': 'Check PR Status', 'node_id': 'CR_kwDOJKSTjM8AAAAGwcaMFQ', 'head_sha': 'b400f6067e140e8c4b8b7cda30d2ba953e6d345c', 'external_id': '430162b3-eb1d-5fbf-9176-3eadb3328ba2', 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020818453', 'html_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478144009/job/29020818453', 'details_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478144009/job/29020818453', 'status': 'in_progress', 'conclusion': None, 'started_at': '2024-08-20T19:42:31Z', 'completed_at': None, 'output': {'title': None, 'summary': None, 'text': None, 'annotations_count': 0, 'annotations_url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020818453/annotations'}, 'check_suite': {'id': 27396986852}, 'app': {'id': 15368, 'slug': 'github-actions', 'node_id': 'MDM6QXBwMTUzNjg=', 'owner': {'login': 'github', 'id': 9919, 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjk5MTk=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9919?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/github', 'html_url': 'https://github.com/github', 'followers_url': 'https://api.github.com/users/github/followers', 'following_url': 'https://api.github.com/users/github/following{/other_user}', 'gists_url': 'https://api.github.com/users/github/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/github/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/github/subscriptions', 'organizations_url': 'https://api.github.com/users/github/orgs', 'repos_url': 'https://api.github.com/users/github/repos', 'events_url': 'https://api.github.com/users/github/events{/privacy}', 'received_events_url': 'https://api.github.com/users/github/received_events', 'type': 'Organization', 'site_admin': False}, 'name': 'GitHub Actions', 'description': 'Automate your workflow from idea to production', 'external_url': 'https://help.github.com/en/actions', 'html_url': 'https://github.com/apps/github-actions', 'created_at': '2018-07-30T09:30:17Z', 'updated_at': '2024-04-10T20:33:16Z', 'permissions': {'actions': 'write', 'administration': 'read', 'attestations': 'write', 'checks': 'write', 'contents': 'write', 'deployments': 'write', 'discussions': 'write', 'issues': 'write', 'merge_queues': 'write', 'metadata': 'read', 'packages': 'write', 'pages': 'write', 'pull_requests': 'write', 'repository_hooks': 'write', 'repository_projects': 'write', 'security_events': 'write', 'statuses': 'write', 'vulnerability_alerts': 'read'}, 'events': ['branch_protection_rule', 'check_run', 'check_suite', 'create', 'delete', 'deployment', 'deployment_status', 'discussion', 'discussion_comment', 'fork', 'gollum', 'issues', 'issue_comment', 'label', 'merge_group', 'milestone', 'page_build', 'project', 'project_card', 'project_column', 'public', 'pull_request', 'pull_request_review', 'pull_request_review_comment', 'push', 'registry_package', 'release', 'repository', 'repository_dispatch', 'status', 'watch', 'workflow_dispatch', 'workflow_run']}, 'pull_requests': [{'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/pulls/7849', 'id': 2028276859, 'number': 7849, 'head': {'ref': 'ntindle/checks', 'sha': 'a07c98084228288f5d42ec750c0be689361a7562', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}, 'base': {'ref': 'master', 'sha': '52d40d0f8bdbf18c024977447843bf14cb7b0075', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}}]}]}
    5148:  Processing check runs...
    5149:  [{'id': 29020912984, 'name': 'CodeQL', 'node_id': 'CR_kwDOJKSTjM8AAAAGwcf9WA', 'head_sha': 'b400f6067e140e8c4b8b7cda30d2ba953e6d345c', 'external_id': '', 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020912984', 'html_url': 'https://github.com/Significant-Gravitas/AutoGPT/runs/29020912984', 'details_url': 'https://github.com/Significant-Gravitas/AutoGPT/runs/29020912984', 'status': 'completed', 'conclusion': 'success', 'started_at': '2024-08-20T19:44:50Z', 'completed_at': '2024-08-20T19:44:53Z', 'output': {'title': 'No new alerts in code changed by this pull request', 'summary': '[View all branch alerts](/Significant-Gravitas/AutoGPT/security/code-scanning?query=pr%3A7849+tool%3ACodeQL+is%3Aopen).', 'text': None, 'annotations_count': 0, 'annotations_url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020912984/annotations'}, 'check_suite': {'id': 27397072562}, 'app': {'id': 57789, 'slug': 'github-advanced-security', 'node_id': 'MDM6QXBwNTc3ODk=', 'owner': {'login': 'github', 'id': 9919, 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjk5MTk=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9919?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/github', 'html_url': 'https://github.com/github', 'followers_url': 'https://api.github.com/users/github/followers', 'following_url': 'https://api.github.com/users/github/following{/other_user}', 'gists_url': 'https://api.github.com/users/github/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/github/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/github/subscriptions', 'organizations_url': 'https://api.github.com/users/github/orgs', 'repos_url': 'https://api.github.com/users/github/repos', 'events_url': 'https://api.github.com/users/github/events{/privacy}', 'received_events_url': 'https://api.github.com/users/github/received_events', 'type': 'Organization', 'site_admin': False}, 'name': 'GitHub Advanced Security', 'description': '', 'external_url': 'https://github.com/features/security', 'html_url': 'https://github.com/apps/github-advanced-security', 'created_at': '2020-03-17T21:25:09Z', 'updated_at': '2024-07-11T07:30:47Z', 'permissions': {'actions': 'read', 'checks': 'write', 'contents': 'read', 'metadata': 'read'}, 'events': []}, 'pull_requests': [{'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/pulls/7849', 'id': 2028276859, 'number': 7849, 'head': {'ref': 'ntindle/checks', 'sha': 'a07c98084228288f5d42ec750c0be689361a7562', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}, 'base': {'ref': 'master', 'sha': '52d40d0f8bdbf18c024977447843bf14cb7b0075', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}}]}, {'id': 29020826200, 'name': 'Redirect rules - auto-gpt-docs', 'node_id': 'CR_kwDOJKSTjM8AAAAGwcaqWA', 'head_sha': 'b400f6067e140e8c4b8b7cda30d2ba953e6d345c', 'external_id': '66c4f1a089d3c30008f7300f', 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020826200', 'html_url': 'https://github.com/Significant-Gravitas/AutoGPT/runs/29020826200', 'details_url': 'https://app.netlify.com/sites/auto-gpt-docs/deploys/66c4f1a089d3c30008f7300f', 'status': 'completed', 'conclusion': 'neutral', 'started_at': '2024-08-20T19:42:36Z', 'completed_at': '2024-08-20T19:42:43Z', 'output': {'title': 'Deploy canceled', 'summary': 'Please check [the logs](https://app.netlify.com/sites/auto-gpt-docs/deploys/66c4f1a089d3c30008f7300f).', 'text': None, 'annotations_count': 0, 'annotations_url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020826200/annotations'}, 'check_suite': {'id': 27396985423}, 'app': {'id': 13473, 'slug': 'netlify', 'node_id': 'MDM6QXBwMTM0NzM=', 'owner': {'login': 'netlify', 'id': 7892489, 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjc4OTI0ODk=', 'avatar_url': 'https://avatars.githubusercontent.com/u/7892489?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/netlify', 'html_url': 'https://github.com/netlify', 'followers_url': 'https://api.github.com/users/netlify/followers', 'following_url': 'https://api.github.com/users/netlify/following{/other_user}', 'gists_url': 'https://api.github.com/users/netlify/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/netlify/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/netlify/subscriptions', 'organizations_url': 'https://api.github.com/users/netlify/orgs', 'repos_url': 'https://api.github.com/users/netlify/repos', 'events_url': 'https://api.github.com/users/netlify/events{/privacy}', 'received_events_url': 'https://api.github.com/users/netlify/received_events', 'type': 'Organization', 'site_admin': False}, 'name': 'Netlify', 'description': 'Publish incredibly high performance websites and applications right from GitHub. The Netlify platform connects your repositories to an all-in-one workflow for global CDN deployment, continuous integration, and automatic (and free) HTTPS. Each time you commit changes, Netlify builds your site, prerenders markup, and optimizes assets on dedicated build infrastructure. Easily create an entirely automated workflow around any site generator such as Jekyll, Hugo, or Gatsby.\r\n\r\n## Features\r\n\r\n### Push your site live, directly from GitHub\r\nDeploy your site to an ultra-redundant global CDN that’s purpose built for serving pages and assets quickly and consistently.\r\n\r\n### Automate deployment\r\nNetlify’s built-in Continuous Deployment automatically runs your build commands and deploys the result whenever you push to your Git repository.\r\n\r\n### Add a custom domain\r\nPurchase domains and manage DNS zones and records right inside of Netlify.\r\n\r\n### HTTPS is automatic\r\nYour site will automatically be secured with a free TLS certificate from Let’s Encrypt.\r\n\r\n### Deploy Previews\r\nNetlify’s Deploy Previews streamlined your workflow by giving you a unique, permanent URL to check what your changes will be like in production whenever you submit a pull request.\r\n\r\n### And a lot more!\r\nNetlify includes solutions for forms, identity, and even custom functions powered by AWS Lambda. And all this functionality can be configured directly in your repo.\r\n', 'external_url': 'https://www.netlify.com', 'html_url': 'https://github.com/apps/netlify', 'created_at': '2018-06-12T15:16:51Z', 'updated_at': '2023-03-08T17:02:55Z', 'permissions': {'checks': 'write', 'contents': 'read', 'emails': 'read', 'issues': 'write', 'metadata': 'read', 'pull_requests': 'write', 'statuses': 'write'}, 'events': ['create', 'delete', 'issue_comment', 'pull_request', 'pull_request_review', 'pull_request_review_comment', 'push']}, 'pull_requests': [{'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/pulls/7849', 'id': 2028276859, 'number': 7849, 'head': {'ref': 'ntindle/checks', 'sha': 'a07c98084228288f5d42ec750c0be689361a7562', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}, 'base': {'ref': 'master', 'sha': '52d40d0f8bdbf18c024977447843bf14cb7b0075', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}}]}, {'id': 29020826077, 'name': 'Header rules - auto-gpt-docs', 'node_id': 'CR_kwDOJKSTjM8AAAAGwcap3Q', 'head_sha': 'b400f6067e140e8c4b8b7cda30d2ba953e6d345c', 'external_id': '66c4f1a089d3c30008f7300f', 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020826077', 'html_url': 'https://github.com/Significant-Gravitas/AutoGPT/runs/29020826077', 'details_url': 'https://app.netlify.com/sites/auto-gpt-docs/deploys/66c4f1a089d3c30008f7300f', 'status': 'completed', 'conclusion': 'neutral', 'started_at': '2024-08-20T19:42:36Z', 'completed_at': '2024-08-20T19:42:43Z', 'output': {'title': 'Deploy canceled', 'summary': 'Please check [the logs](https://app.netlify.com/sites/auto-gpt-docs/deploys/66c4f1a089d3c30008f7300f).', 'text': None, 'annotations_count': 0, 'annotations_url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020826077/annotations'}, 'check_suite': {'id': 27396985423}, 'app': {'id': 13473, 'slug': 'netlify', 'node_id': 'MDM6QXBwMTM0NzM=', 'owner': {'login': 'netlify', 'id': 7892489, 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjc4OTI0ODk=', 'avatar_url': 'https://avatars.githubusercontent.com/u/7892489?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/netlify', 'html_url': 'https://github.com/netlify', 'followers_url': 'https://api.github.com/users/netlify/followers', 'following_url': 'https://api.github.com/users/netlify/following{/other_user}', 'gists_url': 'https://api.github.com/users/netlify/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/netlify/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/netlify/subscriptions', 'organizations_url': 'https://api.github.com/users/netlify/orgs', 'repos_url': 'https://api.github.com/users/netlify/repos', 'events_url': 'https://api.github.com/users/netlify/events{/privacy}', 'received_events_url': 'https://api.github.com/users/netlify/received_events', 'type': 'Organization', 'site_admin': False}, 'name': 'Netlify', 'description': 'Publish incredibly high performance websites and applications right from GitHub. The Netlify platform connects your repositories to an all-in-one workflow for global CDN deployment, continuous integration, and automatic (and free) HTTPS. Each time you commit changes, Netlify builds your site, prerenders markup, and optimizes assets on dedicated build infrastructure. Easily create an entirely automated workflow around any site generator such as Jekyll, Hugo, or Gatsby.\r\n\r\n## Features\r\n\r\n### Push your site live, directly from GitHub\r\nDeploy your site to an ultra-redundant global CDN that’s purpose built for serving pages and assets quickly and consistently.\r\n\r\n### Automate deployment\r\nNetlify’s built-in Continuous Deployment automatically runs your build commands and deploys the result whenever you push to your Git repository.\r\n\r\n### Add a custom domain\r\nPurchase domains and manage DNS zones and records right inside of Netlify.\r\n\r\n### HTTPS is automatic\r\nYour site will automatically be secured with a free TLS certificate from Let’s Encrypt.\r\n\r\n### Deploy Previews\r\nNetlify’s Deploy Previews streamlined your workflow by giving you a unique, permanent URL to check what your changes will be like in production whenever you submit a pull request.\r\n\r\n### And a lot more!\r\nNetlify includes solutions for forms, identity, and even custom functions powered by AWS Lambda. And all this functionality can be configured directly in your repo.\r\n', 'external_url': 'https://www.netlify.com', 'html_url': 'https://github.com/apps/netlify', 'created_at': '2018-06-12T15:16:51Z', 'updated_at': '2023-03-08T17:02:55Z', 'permissions': {'checks': 'write', 'contents': 'read', 'emails': 'read', 'issues': 'write', 'metadata': 'read', 'pull_requests': 'write', 'statuses': 'write'}, 'events': ['create', 'delete', 'issue_comment', 'pull_request', 'pull_request_review', 'pull_request_review_comment', 'push']}, 'pull_requests': [{'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/pulls/7849', 'id': 2028276859, 'number': 7849, 'head': {'ref': 'ntindle/checks', 'sha': 'a07c98084228288f5d42ec750c0be689361a7562', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}, 'base': {'ref': 'master', 'sha': '52d40d0f8bdbf18c024977447843bf14cb7b0075', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}}]}, {'id': 29020825943, 'name': 'Pages changed - auto-gpt-docs', 'node_id': 'CR_kwDOJKSTjM8AAAAGwcapVw', 'head_sha': 'b400f6067e140e8c4b8b7cda30d2ba953e6d345c', 'external_id': '66c4f1a089d3c30008f7300f', 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020825943', 'html_url': 'https://github.com/Significant-Gravitas/AutoGPT/runs/29020825943', 'details_url': 'https://app.netlify.com/sites/auto-gpt-docs/deploys/66c4f1a089d3c30008f7300f', 'status': 'completed', 'conclusion': 'neutral', 'started_at': '2024-08-20T19:42:36Z', 'completed_at': '2024-08-20T19:42:43Z', 'output': {'title': 'Deploy canceled', 'summary': 'Please check [the logs](https://app.netlify.com/sites/auto-gpt-docs/deploys/66c4f1a089d3c30008f7300f).', 'text': None, 'annotations_count': 0, 'annotations_url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020825943/annotations'}, 'check_suite': {'id': 27396985423}, 'app': {'id': 13473, 'slug': 'netlify', 'node_id': 'MDM6QXBwMTM0NzM=', 'owner': {'login': 'netlify', 'id': 7892489, 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjc4OTI0ODk=', 'avatar_url': 'https://avatars.githubusercontent.com/u/7892489?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/netlify', 'html_url': 'https://github.com/netlify', 'followers_url': 'https://api.github.com/users/netlify/followers', 'following_url': 'https://api.github.com/users/netlify/following{/other_user}', 'gists_url': 'https://api.github.com/users/netlify/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/netlify/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/netlify/subscriptions', 'organizations_url': 'https://api.github.com/users/netlify/orgs', 'repos_url': 'https://api.github.com/users/netlify/repos', 'events_url': 'https://api.github.com/users/netlify/events{/privacy}', 'received_events_url': 'https://api.github.com/users/netlify/received_events', 'type': 'Organization', 'site_admin': False}, 'name': 'Netlify', 'description': 'Publish incredibly high performance websites and applications right from GitHub. The Netlify platform connects your repositories to an all-in-one workflow for global CDN deployment, continuous integration, and automatic (and free) HTTPS. Each time you commit changes, Netlify builds your site, prerenders markup, and optimizes assets on dedicated build infrastructure. Easily create an entirely automated workflow around any site generator such as Jekyll, Hugo, or Gatsby.\r\n\r\n## Features\r\n\r\n### Push your site live, directly from GitHub\r\nDeploy your site to an ultra-redundant global CDN that’s purpose built for serving pages and assets quickly and consistently.\r\n\r\n### Automate deployment\r\nNetlify’s built-in Continuous Deployment automatically runs your build commands and deploys the result whenever you push to your Git repository.\r\n\r\n### Add a custom domain\r\nPurchase domains and manage DNS zones and records right inside of Netlify.\r\n\r\n### HTTPS is automatic\r\nYour site will automatically be secured with a free TLS certificate from Let’s Encrypt.\r\n\r\n### Deploy Previews\r\nNetlify’s Deploy Previews streamlined your workflow by giving you a unique, permanent URL to check what your changes will be like in production whenever you submit a pull request.\r\n\r\n### And a lot more!\r\nNetlify includes solutions for forms, identity, and even custom functions powered by AWS Lambda. And all this functionality can be configured directly in your repo.\r\n', 'external_url': 'https://www.netlify.com', 'html_url': 'https://github.com/apps/netlify', 'created_at': '2018-06-12T15:16:51Z', 'updated_at': '2023-03-08T17:02:55Z', 'permissions': {'checks': 'write', 'contents': 'read', 'emails': 'read', 'issues': 'write', 'metadata': 'read', 'pull_requests': 'write', 'statuses': 'write'}, 'events': ['create', 'delete', 'issue_comment', 'pull_request', 'pull_request_review', 'pull_request_review_comment', 'push']}, 'pull_requests': [{'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/pulls/7849', 'id': 2028276859, 'number': 7849, 'head': {'ref': 'ntindle/checks', 'sha': 'a07c98084228288f5d42ec750c0be689361a7562', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}, 'base': {'ref': 'master', 'sha': '52d40d0f8bdbf18c024977447843bf14cb7b0075', 'repo': {'id': 614765452, 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT', 'name': 'AutoGPT'}}}]}, {'id': 29020820329, 'name': 'Analyze (python)', 'node_id': 'CR_kwDOJKSTjM8AAAAGwcaTaQ', 'head_sha': 'b400f6067e140e8c4b8b7cda30d2ba953e6d345c', 'external_id': 'ef639e83-3f2e-5eaa-e878-4d86a96e66c2', 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020820329', 'html_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478144085/job/29020820329', 'details_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478144085/job/29020820329', 'status': 'completed', 'conclusion': 'success', 'started_at': '2024-08-20T19:42:33Z', 'completed_at': '2024-08-20T19:44:58Z', 'output': {'title': None, 'summary': None, 'text': None, 'annotations_count': 0, 'annotations_url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020820329/annotations'}, 'check_suite': {'id': 27396987090}, 'app': {'id': 15368, 'slug': 'github-actions', 'node_id': 'MDM6QXBwMTUzNjg=', 'owner': {'login': 'github', 'id': 9919, 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjk5MTk=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9919?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/github', 'html_url': 'https://github.com/github', 'followers_url': 'https://api.github.com/users/github/followers', 'following_url': 'https://api.github.com/users/github/following{/other_user}', 'gists_url': 'https://api.github.com/users/github/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/github/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/github/subscriptions', 'organizations_url': 'https://api.github.com/users/github/orgs', 'repos_url': 'https://api.github.com/users/github/repos', 'events_url': 'https://api.github.com/users/github/events{/privacy}', 'received_events_url': 'https://api.github.com/users/github/received_events', 'type': 'Organization', 'site_admin': False}, 'name': 'GitHub Actions', 'description': 'Automate your workflow from idea to production', 'external_url': 'https://help.github.com/en/actions', 'html_url': 'https://github.com/apps/github-actions', 'created_at': '2018-07-30T09:30:17Z', 'updated_at': '2024-04-10T20:33:16Z', 'permissions': {'actions': 'write', 'administration': 'read', 'attestations': 'write', 'checks': 'write', 'contents': 'write', 'deployments': 'write', 'discussions': 'write', 'issues': 'write', 'merge_queues': 'write', 'metadata': 'read', 'packages': 'write', 'pages': 'write', 'pull_requests': 'write', 'repository_hooks': 'write', 'repository_projects': 'write', 'security_events': 'write', 'statuses': 'write', 'vulnerability_alerts': 'read'}, 'events': ['branch_protection_rule', 'check_run', 'check_suite', 'create', 'delete', 'deployment', 'deployment_status', 'discussion', 'discussion_comment', 'fork', 'gollum', 'issues', 'issue_comment', 'label', 'merge_group', 'milestone', 'page_build', 'project', 'project_card', 'project_column', 'public', 'pull_request', 'pull_request_review', 'pull_request_review_comment', 'push', 'registry_package', 'release', 'repository', 'repository_dispatch', 'status', 'watch', 'workflow_dispatch', 'workflow_run']}, 'pull_requests': []}, {'id': 29020819928, 'name': 'Analyze (javascript)', 'node_id': 'CR_kwDOJKSTjM8AAAAGwcaR2A', 'head_sha': 'b400f6067e140e8c4b8b7cda30d2ba953e6d345c', 'external_id': 'fcc11df8-4fa2-5761-4733-8e550f8a089f', 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020819928', 'html_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478144085/job/29020819928', 'details_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478144085/job/29020819928', 'status': 'completed', 'conclusion': 'success', 'started_at': '2024-08-20T19:42:33Z', 'completed_at': '2024-08-20T19:55:46Z', 'output': {'title': None, 'summary': None, 'text': None, 'annotations_count': 0, 'annotations_url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020819928/annotations'}, 'check_suite': {'id': 27396987090}, 'app': {'id': 15368, 'slug': 'github-actions', 'node_id': 'MDM6QXBwMTUzNjg=', 'owner': {'login': 'github', 'id': 9919, 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjk5MTk=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9919?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/github', 'html_url': 'https://github.com/github', 'followers_url': 'https://api.github.com/users/github/followers', 'following_url': 'https://api.github.com/users/github/following{/other_user}', 'gists_url': 'https://api.github.com/users/github/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/github/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/github/subscriptions', 'organizations_url': 'https://api.github.com/users/github/orgs', 'repos_url': 'https://api.github.com/users/github/repos', 'events_url': 'https://api.github.com/users/github/events{/privacy}', 'received_events_url': 'https://api.github.com/users/github/received_events', 'type': 'Organization', 'site_admin': False}, 'name': 'GitHub Actions', 'description': 'Automate your workflow from idea to production', 'external_url': 'https://help.github.com/en/actions', 'html_url': 'https://github.com/apps/github-actions', 'created_at': '2018-07-30T09:30:17Z', 'updated_at': '2024-04-10T20:33:16Z', 'permissions': {'actions': 'write', 'administration': 'read', 'attestations': 'write', 'checks': 'write', 'contents': 'write', 'deployments': 'write', 'discussions': 'write', 'issues': 'write', 'merge_queues': 'write', 'metadata': 'read', 'packages': 'write', 'pages': 'write', 'pull_requests': 'write', 'repository_hooks': 'write', 'repository_projects': 'write', 'security_events': 'write', 'statuses': 'write', 'vulnerability_alerts': 'read'}, 'events': ['branch_protection_rule', 'check_run', 'check_suite', 'create', 'delete', 'deployment', 'deployment_status', 'discussion', 'discussion_comment', 'fork', 'gollum', 'issues', 'issue_comment', 'label', 'merge_group', 'milestone', 'page_build', 'project', 'project_card', 'project_column', 'public', 'pull_request', 'pull_request_review', 'pull_request_review_comment', 'push', 'registry_package', 'release', 'repository', 'repository_dispatch', 'status', 'watch', 'workflow_dispatch', 'workflow_run']}, 'pull_requests': []}, {'id': 29020819260, 'name': 'get-changed-parts', 'node_id': 'CR_kwDOJKSTjM8AAAAGwcaPPA', 'head_sha': 'b400f6067e140e8c4b8b7cda30d2ba953e6d345c', 'external_id': '4af6e3c3-b1c2-57ff-95b3-6dd2c6b74333', 'url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020819260', 'html_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478144000/job/29020819260', 'details_url': 'https://github.com/Significant-Gravitas/AutoGPT/actions/runs/10478144000/job/29020819260', 'status': 'completed', 'conclusion': 'success', 'started_at': '2024-08-20T19:42:33Z', 'completed_at': '2024-08-20T19:42:41Z', 'output': {'title': None, 'summary': None, 'text': None, 'annotations_count': 0, 'annotations_url': 'https://api.github.com/repos/Significant-Gravitas/AutoGPT/check-runs/29020819260/annotations'}, 'check_suite': {'id': 27396986842}, 'app': {'id': 15368, 'slug': 'gith...

    Copy link

    PR Reviewer Guide 🔍

    ⏱️ Estimated effort to review: 3 🔵🔵🔵⚪⚪
    🧪 No relevant tests
    🔒 No security concerns identified
    ⚡ Key issues to review

    Potential Infinite Loop
    The while loop introduced to handle in-progress check runs could potentially run indefinitely if a check run never completes or if there's an issue with the API. Consider adding a maximum retry limit or timeout mechanism.

    Workflow Trigger Change
    The workflow trigger has been changed from 'workflow_run' to 'pull_request'. This might affect when and how often the status check is performed. Ensure this change aligns with the intended behavior.

    Copy link

    codiumai-pr-agent-pro bot commented Aug 20, 2024

    PR Code Suggestions ✨

    CategorySuggestion                                                                                                                                    Score
    Best practice
    Add a maximum number of retries to prevent infinite loops

    Consider adding a maximum number of retries or a timeout to prevent the script from
    running indefinitely if check runs are stuck or taking too long.

    .github/workflows/scripts/check_actions_status.py [43-45]

    -while runs_in_progress:
    +MAX_RETRIES = 12  # 1 minute total (5 seconds * 12)
    +retry_count = 0
    +while runs_in_progress and retry_count < MAX_RETRIES:
         runs_in_progress = False
         all_others_passed = True
    +    retry_count += 1
     
    • Apply this suggestion
    Suggestion importance[1-10]: 9

    Why: Adding a maximum number of retries is a best practice that prevents the script from running indefinitely, which is crucial for avoiding potential resource exhaustion and ensuring the script terminates appropriately.

    9
    Use a context manager for API requests to ensure proper resource management

    Consider using a context manager (with statement) when making API requests to ensure
    proper resource management and connection closure.

    .github/workflows/scripts/check_actions_status.py [25-31]

    -response = requests.get(endpoint, headers=headers)
    -if response.status_code != 200:
    -    print(
    -        f"Error: Unable to fetch check runs data. Status code: {response.status_code}"
    -    )
    -    sys.exit(1)
    +with requests.get(endpoint, headers=headers) as response:
    +    if response.status_code != 200:
    +        print(
    +            f"Error: Unable to fetch check runs data. Status code: {response.status_code}"
    +        )
    +        sys.exit(1)
    +    check_runs = response.json()["check_runs"]
     
    • Apply this suggestion
    Suggestion importance[1-10]: 8

    Why: Using a context manager for API requests is a best practice that ensures proper resource management and connection closure, which is important for preventing resource leaks and improving code reliability.

    8

    @github-actions github-actions bot added size/l and removed size/m labels Aug 20, 2024
    @ntindle ntindle requested a review from a team as a code owner August 20, 2024 19:05
    @ntindle ntindle requested review from Torantulino and majdyz and removed request for a team August 20, 2024 19:05
    @ntindle ntindle changed the title ci(all): fundamentally change how we do this ci(all): take two on the global status checker Aug 20, 2024
    @ntindle ntindle merged commit efcd0f9 into master Aug 22, 2024
    12 checks passed
    @ntindle ntindle deleted the ntindle/checks branch August 22, 2024 12:06
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    Status: Done
    Development

    Successfully merging this pull request may close these issues.

    2 participants