-
Notifications
You must be signed in to change notification settings - Fork 22
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
Bot reporting "No Changeset found", but there is. How to debug? #78
Comments
Not fully solving the issue, but possibly a pointer to the root cause, I found that removing
appears to confuse the bot in some way. In a different branch where I only add the changesets tooling, and do not remove any files I see:
If I run: git rm -r .changie.yaml .changes/
git commit -m 'remove changie'
git push the PR comment is updated to:
❯ tree .changeset/
.changeset/
├── README.md
├── config.json
└── fair-walls-join.md |
Renaming the files does not immediately confuse the bot: git mv .changes .no-more-changie
git commit -m 'git mv .changes .no-more-changie' --no-verify
git push still gives the expected:
However, even after renaming, removing the files confuses the bot again: git rm -rf .no-more-changie
git commit -m 'git rm .no-more-changie' --no-verify
git push puts us back to:
|
❓ is there a limit to the number of results/files returned in octocat calls? I have another PR in a different repo where I believe I followed the same process and the bot's fine. The only obvious difference I can see is "Files Changed: 81" versus "Files Changed: 18"
source: https://octokit.github.io/rest.js/v19#pulls-list-files |
- maybe get round the problem in changesets/bot#78 by removing fewer files at a time
- maybe get round the problem in changesets/bot#78 by removing fewer files at a time
- maybe get round the problem in changesets/bot#78 by removing fewer files at a time
- maybe get round the problem in changesets/bot#78 by removing fewer files at a time
- maybe get round the problem in changesets/bot#78 by removing fewer files at a time
- maybe get round the problem in changesets/bot#78 by removing fewer files at a time
- maybe get round the problem in changesets/bot#78 by removing fewer files at a time
- maybe get round the problem in changesets/bot#78 by removing fewer files at a time
- maybe get round the problem in changesets/bot#78 by removing fewer files at a time
- maybe get round the problem in changesets/bot#78 by removing fewer files at a time
- maybe get round the problem in changesets/bot#78 by removing fewer files at a time
- maybe get round the problem in changesets/bot#78 by removing fewer files at a time
- maybe get round the problem in changesets/bot#78 by removing fewer files at a time
docs(changeset): chore: trigger changesets (ref: changesets/bot#78)
I've been exploring changesets recently and am in a mostly good place.
I have it working in three repos as expected.
One repo confused the bot in ways I can't understand. I keep getting:
no matter what I try.
My current status:
yarn init
yarn add @changesets/cli && yarn changeset init
git add .changeset/ package.json yarn.lock
git commit
git oush -u
Then I create and view the PR.
This is a summary of the branch:
❯ /bin/ls -a . .markdownlint.jsonc node_modules .. .markdownlintignore package.json .changeset .pre-commit-config.yaml terraform .git .pytest_cache yarn.lock .infracost .venv ❯ tree .changeset/ .changeset/ ├── README.md ├── config.json └── weak-beans-share.md 1 directory, 3 files
and
I'm stumped, and don't know where to look for issues, not what to try to get the bot working as expected in this repo.
Any and all suggestions welcome.
The text was updated successfully, but these errors were encountered: