Comments (3)
Hey! Happy to hear it's helpful!
I'm assuming it was running after a push to main
? Like you said, rebasing all your commits from the root probably confused GitHub and invalidated the before
field in the event payload of the push
event (https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#push), and your actions probably "reset" it.
I'm not sure if this edge case can be covered using the data from the push
event, but there might be a way to fall back on something else if the base commit isn't found when fetching data from the API. dco-check doesn't really expect a full/root rebase, and by default it tries not to check all commits from the root commit (at least for GitHub), but perhaps it would be the right behaviour here?
from dco-check.
HI @christophebedard - It is indeed an edge case, might not need to be handled in code. I'd be happy to add some brief docs on it. If that works for you, I'd run some more isolated experiments to see which of the changes I made above resolved the issue, so can explain what to do if rebasing from --root and hitting this issue.
from dco-check.
Of course, that would be great!
from dco-check.
Related Issues (20)
- Fails to check commits for a brand new branch on GitLab
- GitLab integration fails with detached pipelines for mere requests HOT 6
- Add option to exclude some commit authors from DCO checking
- Fails when source branch has been merged in the target branch before HOT 1
- GitLabRetriever does not work with pipelines for merge requests HOT 4
- Please provide aarch64 container HOT 4
- Ignoring specific commits HOT 7
- Update GitHub workflow shield/badge
- maintenance bots that uses generic emails for commits causing dco check fail
- Improve code coverage HOT 1
- Use GitHub action to automatically tag commits
- Fix & improve handling of env vars wrt params and default values
- Codecov job fails because of coverage %
- Add more tests for supported CIs
- Fails on GitLab when triggering a new pipeline on a branch without new commits HOT 2
- Add option to force dco-check to use GitRetriever
- Add license to source tarballs HOT 1
- Python internal error when manually running dco-check pipeline in GitLab
- Mypy detects several possible type errors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dco-check.