Git Product home page Git Product logo

Comments (3)

chizmw avatar chizmw commented on June 11, 2024

Not fully solving the issue, but possibly a pointer to the root cause, I found that removing changie files

  • .changes/
  • .changie.yaml

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:

🦋 Changeset detected

If I run:

git rm -r .changie.yaml .changes/
git commit -m 'remove changie'
git push

the PR comment is updated to:

⚠️ No Changeset found

.changeset/ still exists after the previous operation:

❯ tree .changeset/
.changeset/
├── README.md
├── config.json
└── fair-walls-join.md

from bot.

chizmw avatar chizmw commented on June 11, 2024

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:

🦋 Changeset detected

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:

⚠️ No Changeset found

from bot.

chizmw avatar chizmw commented on June 11, 2024

❓ 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"

Note: Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.

source: https://octokit.github.io/rest.js/v19#pulls-list-files

from bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.