Skip to content
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

ci(dci-lint): GitError: fatal: Refusing to fetch into current branch #1440

Closed
petermetz opened this issue Oct 5, 2021 · 0 comments · Fixed by #1529
Closed

ci(dci-lint): GitError: fatal: Refusing to fetch into current branch #1440

petermetz opened this issue Oct 5, 2021 · 0 comments · Fixed by #1529
Labels
bug Something isn't working dependencies Pull requests that update a dependency file Developer_Experience

Comments

@petermetz
Copy link
Contributor

Describe the bug

The DCI-Lint check works fine on PRs but fails when it runs on the main branch after a PR has been merged.

To Reproduce

Merge a PR and then go to the commit list of the main branch and observe the sea of red.

Expected behavior

If it worked on the PR branch it should also work on the main branch.

Logs/Stack traces

8.txt

Cloud provider or hardware configuration:

GHA hosted runner

Operating system name, version, build:

Ubuntu-20.04

Hyperledger Cactus release version or commit (git rev-parse --short HEAD):

0.10.0

@petermetz petermetz added bug Something isn't working dependencies Pull requests that update a dependency file Developer_Experience labels Oct 5, 2021
petermetz added a commit to petermetz/cacti that referenced this issue Nov 10, 2021
…acti#1440

The problem can be circumvented by adding the --update-head-ok flag to
the fetch parameters.

Fixes hyperledger-cacti#1440

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz added a commit that referenced this issue Nov 12, 2021
The problem can be circumvented by adding the --update-head-ok flag to
the fetch parameters.

Fixes #1440

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file Developer_Experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant