-
Notifications
You must be signed in to change notification settings - Fork 44.6k
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
Fix CI for internal PRs with CI changes #4552
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
This PR exceeds the recommended size of 200 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## stable #4552 +/- ##
=======================================
Coverage 60.72% 60.72%
=======================================
Files 73 73
Lines 3320 3320
Branches 475 475
=======================================
Hits 2016 2016
Misses 1164 1164
Partials 140 140 ☔ View full report in Codecov by Sentry. |
This PR exceeds the recommended size of 200 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size |
Deployment failed with the following error:
|
This PR exceeds the recommended size of 200 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size |
You changed AutoGPT's behaviour. The cassettes have been updated and will be merged to the submodule when this Pull Request gets merged. |
Deployment failed with the following error:
|
Deployment failed with the following error:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: move all of these into a scripts folder for ci
if [[ "${{ steps.push_cassettes.outputs.updated }}" == "true" ]]; then | ||
echo "Adding label and comment..." | ||
curl -X POST \ | ||
-H "Authorization: Bearer $TOKEN" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don’t save token to a var? Just use it directly? Also does this log?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's scrubbed from the log because it's a secret
* cn-dev: (64 commits) 针对国内的情况,翻译成中文 Update challenge scores Update version numbers for v0.4.0 release Add `replace_in_file` command (Significant-Gravitas#4565) Update bulletin with highlights for v0.4.0 release (Significant-Gravitas#4576) Skip flaky challenges (Significant-Gravitas#4573) Fix `test_web_selenium` (Significant-Gravitas#4554) Clean up CI git logic remove information retrieval challenge b from beaten challenges Fix CI git authentication and cassettes debug Fix CI git diff Fix CI git authorization Update submodule reference Update current score Cache Python Packages in the CI pipeline (Significant-Gravitas#4488) Fix pushing cassettes in CI Remove news about config (Significant-Gravitas#4553) Fix CI for internal PRs with CI changes (Significant-Gravitas#4552) Update BULLETIN.md ... # Conflicts: # BULLETIN.md # CONTRIBUTING.md # autogpt/agent/agent.py # autogpt/app.py # autogpt/llm/llm_utils.py
Background
CI currently breaks quite easily because we use
pull_request_target
: https://github.com/Significant-Gravitas/Auto-GPT/actions/runs/5154842393/jobs/9287034366#logsChanges
pull_request
instead ofpull_request_target
for internal pull requestsTest Plan
See checks below: since this is an internal PR, the CI runs on
pull_request
. For PRs from forks, it should still run onpull_request_target
.PR Quality Checklist