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] Move from EndBug/add-and-commit to stefanzweifel/git-auto-commit-action #3426

Merged
merged 13 commits into from
Feb 28, 2023

Conversation

samsonasik
Copy link
Member

@samsonasik samsonasik commented Feb 28, 2023

Reopen of PR:

that was closed and got overlapped commit so new PR is needed.

Fixes rectorphp/rector#7579

@samsonasik
Copy link
Member Author

@TomasVotruba the workflows got pending:

rector (config utils) Expected — Waiting for status to be reported
Required
rector (rules) Expected — Waiting for status to be reported
Required
rector (src tests rules-tests packages packages-tests) Expected — Waiting for status to be reported
Required 

could you verify if it need manual enable?

@TomasVotruba
Copy link
Member

These should work as before.

Seems something wrong the workflow syntax.

Comment on lines 73 to 75
commit_message: [ci-review] Rector Rectify
commit_author: GitHub Action <actions@github.com>
commit_user_email: action@github.com
Copy link
Member

Choose a reason for hiding this comment

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

These values might need quoting, as they contain weird characters

Copy link
Member Author

Choose a reason for hiding this comment

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

It works 🎉 4fde336

@TomasVotruba
Copy link
Member

Missclick on the approve, just wanted to send one comment :)

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba the commit is applied as expected 4fde336, I think it is ready.

@samsonasik samsonasik force-pushed the move-end-bug-to-git-auto-commit branch from 4fde336 to d84398b Compare February 28, 2023 17:18
@samsonasik
Copy link
Member Author

Rebased.

@TomasVotruba
Copy link
Member

Thanks 🙏

Does the CI Rector commit triggers the whole workflow?
I can't see it after the rebase. That's very important part

@samsonasik
Copy link
Member Author

Yes, here d84398b, I will re-add unused property.

@samsonasik
Copy link
Member Author

Re-added unused property b691b66

@samsonasik
Copy link
Member Author

Here above trigger commit 86fa545 on Rectify 👍

@TomasVotruba TomasVotruba enabled auto-merge (squash) February 28, 2023 17:26
@TomasVotruba
Copy link
Member

Very nice 👍🙂 thank you

@TomasVotruba TomasVotruba merged commit 7b5f06d into main Feb 28, 2023
@TomasVotruba TomasVotruba deleted the move-end-bug-to-git-auto-commit branch February 28, 2023 17:33
samsonasik added a commit that referenced this pull request May 8, 2023
…-action (#3426)

* [CI] Move from EndBug/add-and-commit to stefanzweifel/git-auto-commit-action

* test add unusedPrivateProperty to make rectify

* set token

* try remove token

* remove commit_user_email

* Revert remove commit_user_email

This reverts commit 06fd1bc.

* Revert try remove token

This reverts commit ebf8d4e.

* add quote

* remove token again

* add quote on message

* [ci-review] Rector Rectify

* re-add unused property

* [ci-review] Rector Rectify

---------

Co-authored-by: GitHub Action <actions@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants