Open
Description
Sorry for the title. I don't have a good way to express what went wrong here.
This happened twice in ldb-hackathon
for me where it generated a PR, where the contents were quite different from the result that I was expecting. In fact, the same contents were already generated before my workflow even ran. I am not quite sure here why cml is creating a PR with content that is already in the repo (even if the git pull
is done before cml pr
to try to keep the repo in sync).
13:53 GMT
: This PR #94 was published.13:55 GMT
: Triggered workflow.13:57 GMT
: Started "evaluate" job/train
step.16:47:50 GMT
: Finished training16:47:58 GMT
: Created a PR #106 with identical contents to #94.
Run cml pr --rebase 'submissions/*.json'
cml pr --rebase 'submissions/*.json'
shell: sh -e {0}
env:
AWS_DEFAULT_REGION: us-east-1
AWS_REGION: us-east-1
AWS_ACCESS_KEY_ID: ***
AWS_SECRET_ACCESS_KEY: ***
AWS_SESSION_TOKEN: ***
REPO_TOKEN: ***
{"level":"warn","message":"Failed to enable auto-merge: Enable the feature in your repository settings: https://github.com/iterative/ldb-hackathon/settings#merge_types_auto_merge. Trying to merge immediately..."}
https://github.com/iterative/ldb-hackathon/pull/106(https://github.com/iterative/ldb-hackathon/runs/7807546288?check_suite_focus=true#step:15:6)
Also I am a bit surprised to see cml pr
using same branch name for submissions, which may likely be the issue here.
The commits are same and is from earlier time.