Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: optional push and commit input #16

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

Merged
woile merged 1 commit into commitizen-tools:master from nbrugger-tgm:feat/optional_push
Nov 17, 2021
Merged

feat: optional push and commit input #16

woile merged 1 commit into commitizen-tools:master from nbrugger-tgm:feat/optional_push
Nov 17, 2021

Conversation

@nbrugger-tgm
Copy link
Contributor

@nbrugger-tgm nbrugger-tgm commented Nov 12, 2021

Implementation of #15

@nbrugger-tgm nbrugger-tgm marked this pull request as draft November 12, 2021 09:54
@nbrugger-tgm nbrugger-tgm marked this pull request as ready for review November 12, 2021 11:19
Copy link
Contributor Author

Copy link
Member

woile commented Nov 12, 2021

Awesome work!

Copy link
Contributor Author

Had to re-commit since tests didn't work with a fork->upstream PR

Copy link
Contributor Author

nbrugger-tgm commented Nov 12, 2021
edited
Loading

Ok so the test indeed passes (tested it on my fork) but i dont know how to get running in a fork pr. I am quite a noob in git cli. Maybe can you find a way to fix the testcase to work for forke branches?

Sorry for the inconvenience

Copy link
Contributor Author

nbrugger-tgm commented Nov 17, 2021
edited
Loading

Sorry made a mistake, tested in on my repo and it worked (commit b585c72). https://github.com/nbrugger-tgm/commitizen-action/pull/3

I am sorry about the inconvenience but testing workflows especialy with forks etc is a little pain

Copy link
Member

woile commented Nov 17, 2021

No problem, thanks a lot actually for taking the time to do this. Can I ask you to squash into a single commit?
Thanks!

test: add test for `push` and `commit` inputs
fix: test action commit failing
fix: bash condtion
fix: tag not found on test
test: add echo for debugging to workflow
fix: wrong test condition
fix: missing log for new option
fix: bash scripting syntax
fix: commit input being inverted
fix: inverted commit input
fix: use the branch name instead of HEAD
I have no idea why after checkout 'HEAD' sha is not the same as `origin/head_ref` but whatever
fix(ci): test script not working on fork
fix(ci): checking out non origin branch
fix(ci): testing local state in push check
Testing the push should only be done on the remote/origin
@woile woile merged commit c355ee1 into commitizen-tools:master Nov 17, 2021
Copy link
Member

woile commented Nov 17, 2021

Thanks for your contribution!

nbrugger-tgm reacted with heart emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@woile woile woile left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /