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

Transfer action to the reviewdog organization #1

Closed
4 tasks done
rickstaa opened this issue Dec 10, 2020 · 8 comments
Closed
4 tasks done

Transfer action to the reviewdog organization #1

rickstaa opened this issue Dec 10, 2020 · 8 comments

Comments

@rickstaa
Copy link
Member

rickstaa commented Dec 10, 2020

@haya14busa @mgrachev I created a small GitHub-action which allows users to lint Python source files and annotate them using reviewdog. To allow for more customization options I based this on the py-actions/flake8 GitHub action instead of the normal reviewdog/action-template. I put a transfer of ownership request to the reviewdog organization some minutes ago but as I was part of the organization this transfer request automatically went through. Sorry about that, I did not know I had enough permissions to do that without approval 🤦‍♂️. I will open a discussion the next time before I click transfer ownership. Let me know what you think of the GitHub-action. Feel free to transfer it back to my personal account if the current implementation is not in line with to reviewdog roadmap. Here are some points we have to look at if we want to keep the repository under the reviewdog organization:

  • The code is currently licensed under a Apache-2.0 License . If we want to license it under the MIT license like all the other GitHub actions I have to ask @chrissimpkins if it is okay to change the license for this fork.

  • I now use hyphens in the GitHub action input arguments I think it is wise to change them to underscores to be consistent with the rest of the review dog actions. Done in 4f9bd9a

  • It might be an idea to add the bumpr and linter github action that is present in the other reviewdog actions. Done in 4f9bd9a

  • I noticed that I can not release the latest release to the GitHub market place as an org admin first has to accept the terms.

@rickstaa rickstaa changed the title Release to the github marketplace Transfer action to the reviewdog organization Dec 10, 2020
@chrissimpkins
Copy link

chrissimpkins commented Dec 10, 2020

Good to see you put this to use. I'm glad to hear it.

If we want to license it under the MIT license like all the other GitHub actions I have to ask @chrissimpkins if it is okay to change the license for this fork.

I'd be happy to extend the license to include either MIT or Apache 2.0. Let me know if Apache is a blocker here and I can update the license upstream.

@haya14busa
Copy link
Member

No problem, at all! Thank you for your work @rickstaa ! 👍

MIT or Apache 2.0

I actually don't have a strong preference, but it's easier to maintain if all reviewdog repos have the same LICENSE.

I now use hyphens in the GitHub action input arguments I think it is wise to change them to underscores to be consistent with the rest of the review dog actions

Cool! Just FYI: The additional reason why I used _ instead of - as input argument is for GitHub environment variables especially for Docker action. GitHub automatically passes INPUT_{ARGUMENT_NAME} and hyphens (-) didn't work well with this.

I noticed that I can not release the latest release to the GitHub market place as an org admin first has to accept the terms.

Let me check....

@haya14busa
Copy link
Member

I accepted the terms and released the action to the market place.

rickstaa added a commit that referenced this issue Dec 13, 2020
A license transfer was approved in writing by @chrissimpkins on
10-12-2020 (see #1).
@rickstaa
Copy link
Member Author

Amazing! I just performed all the required changes. There is one action cron job that keeps failing but I opened an issue for this on the review dog repo.

@rickstaa
Copy link
Member Author

rickstaa commented Dec 23, 2020

@haya14busa The release action still appears to be broken (see https://github.com/reviewdog/action-flake8/pull/21/checks?check_run_id=1602240516). It, however, does not give an informative warning message. This exact GitHub action recipe seems to work fine on all my other non-forked repositories (see rickstaa/action-get-semver#6) for example.

@haya14busa
Copy link
Member

You need to fix this condition if you want to post comments to PR, but it's actually not broken. If you merged the p-r, the bumper should work correctly.
https://github.com/haya14busa/action-bumpr/blob/2bf4d82ccaf51daca965a1567db7f2dcd72fec84/entrypoint.sh#L55

@rickstaa
Copy link
Member Author

@haya14busa Ah I see thanks a lot. Isn't easier to just detach the fork?

@rickstaa
Copy link
Member Author

@haya14busa Given the merge works it doesn't matter too much. Might cause confusion but I don't expect a lot of people other than me to work on this action.

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

No branches or pull requests

3 participants