Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Don't fail test workflow on release #2088

Merged
merged 1 commit into from
Jul 11, 2020
Merged

Don't fail test workflow on release #2088

merged 1 commit into from
Jul 11, 2020

Conversation

poslegm
Copy link
Collaborator

@poslegm poslegm commented Jul 11, 2020

Tests need all tags to be fetched but latest tag already pushed to master on release. For this reason git fetch fails on workflows started with git push --tags

Other jobs works correct already.

Tests need all tags to be fetched but latest tag already pushed to master on release. For this reason git fetch fails on workflows started with git push --tags
@poslegm poslegm merged commit d9b2637 into master Jul 11, 2020
@poslegm poslegm deleted the poslegm-patch-1 branch July 11, 2020 12:29
@@ -19,7 +19,7 @@ jobs:
- uses: olafurpg/setup-scala@v7
with:
java-version: ${{ matrix.java }}
- run: git fetch --tags
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it always complain, or only when the tag points to a different sha1?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't find the exact cause. It works well on fork's CI, but fails in the main repo. Perhaps it related to merged commits from forks

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants