-
Notifications
You must be signed in to change notification settings - Fork 736
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
Make 'notify_team_new_comment' GitHub action re-usable #12567
Comments
I believe @rtibbles mentioned that https://github.com/learningequality/.github repository could be utilized |
Yes, I think the setup would be that we make it as a reusable workflow in the |
|
I will make it if it's still free. |
Hi @rparadowski thanks you. I have assigned it to you! |
Hi @rparadowski, I'm reaching out based on your e-mail. Here's some guidance on how to best organize this work, so we can test it without breaking the production:
We would then review and merge both, and tested it works in Before you open |
Hi, thank you for instruction. Note for testing: default branch of dependent repo (eg kolibri, test-actions) needs to be switched to change branch of the PR in order to test the change (https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#issue_comment).
|
Hi @rparadowski, thanks a lot! Please give me few days to test and preview. I should get back to you no later than some time next week. |
Hi @rparadowski, I was just able to successfully test this, thanks so much. Would you be interested to complete this issue by opening PRs to all repos that will use |
@rparadowski On
instead of |
@MisRob In case repo name doesn't have to be capitalized, here is dynamic repo name: Use reusable workflow in other repos: |
@MisRob and also that one to fix early merge of learningequality/test-actions#53 https://github.com/learningequality/test-actions/pull/55/files |
Thanks a lot @rparadowski, we will review. The repo name doesn't need to be capitalized, no problem at all. |
Hi @rparadowski, so far me merged #12900 and it seems to work well so I anticipate we will merge the remaining PRs soon. We use these automations from |
I have to admit I don't fully understand. Do you want to:
|
H @rparadowski, just (2) :-) Having this https://github.com/rparadowski/kolibri/blob/cd9a6310eddc2e48f5eb739981cee531468c54d0/.github/workflows/notify_team_new_comment.yml in |
Hi @rparadowski, I wanted to mention that Learning Equality will be closed from December 23 to January 5. |
Hi @MisRob and sorry for lack of responsiveness from my side. Please see requested PR: learningequality/le-utils#151 |
Thank you @rparadowski |
Summary
In our repositories, there are three same copies of the GitHub action that sends a Slack notification when a contributor comments on issue, .github/workflows/notify_team_new_comment.yml. The other two repositories that have this action in their
.github/workflows
are Studio and Kolibri Design System.This is cumbersome since we need three pull requests for each bugfix. This gets amplified by troubles with testing GH actions when we often need to try out more changes to apply a fix.
The goal of this issue is to find a place for this action in our GitHub organization and share it from there between Kolibri, Studio, and Kolibri Design System.
The text was updated successfully, but these errors were encountered: