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

fix: push only tags when skip-commit and git-push #218

Closed
wants to merge 1 commit into from

Conversation

petejodo
Copy link

@petejodo petejodo commented Jun 1, 2023

There's an edge case where if skip-commit is true as well as git-push, and you follow the instructions for skipping git pull and a commit gets pushed to the branch while this is running, that it will fail the job. This is because when pushing the results, it would also push the branch. Pushing the branch isn't necessary though. This doesn't fix the edge case though if skip-commit is false but you'd likely want that to fail then in that case.

There's an edge case where if skip-commit is true as well as git-push,
and you follow the instructions for skipping git pull and a commit gets
pushed to the branch while this is running, that it will fail the job.
This is because when pushing the results, it would also push the branch.
Pushing the branch isn't necessary though. This doesn't fix the edge
case though if skip-commit is false but you'd likely want that to fail
then in that case.
@TriPSs
Copy link
Owner

TriPSs commented Jun 2, 2023

Thanks!

@petejodo
Copy link
Author

petejodo commented Jun 2, 2023

I'll fix the tests when I get a chance

@stale
Copy link

stale bot commented Aug 12, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Aug 12, 2023
@stale stale bot closed this Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants