-
-
Notifications
You must be signed in to change notification settings - Fork 269
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
[Feature]: Ignore StackOverflow comments #16
Comments
This is released now: https://github.com/gautamkrishnar/blog-post-workflow/releases/tag/1.1.5 and enabled by default |
Thanks @gautamkrishnar ! Two improvements if I'm allowed to suggest:
You can see this suggestions would fix the last two sections here https://github.com/gepser/gepser May I open another issue or send a PR? Thanks |
This one is doable
sorry, I don't think that this would be possible. How can we differentiate between comments and normal posts then? If you remove it the filter would be:
This will always return true. So no filtering would happen. Please let me know if you have any solution for this. |
You are right, I didn't see that. Maybe a solution can be sending the Any thoughts on that? |
@gepser you can now use the following format to customize your filter to use spanish for stackoverflow and stackexchange: name: Latest Spanish StackOverflow Contributions
on:
schedule:
# Runs every hour
- cron: '0 * * * *'
workflow_dispatch:
jobs:
update-readme-with-es-stackoverflow:
name: Update this repo's README with latest contributions from Spanish StackOverflow
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gautamkrishnar/blog-post-workflow@master
with:
filter_comments: "stackoverflow/Comentario de $author/"
comment_tag_name: "SPANISH-STACKOVERFLOW"
feed_list: "https://es.stackoverflow.com/feeds/user/399"
max_post_count: 3 |
Incredible! Thank you very much! I also added the filter on the stackexchange site as you can see here. Here is the result: Before: After (only answers and questions): Thanks again @gautamkrishnar ! I appreciate the work you did here! |
Is your feature request related to a problem? Please describe.
When you have an answer or a question it's usually the case where you have many comments too, so you only want to show the question or the answer.
Describe the solution you'd like
StackOverflow comments should not appear at all.
Describe alternatives you've considered
Maybe a filter for show/display them.
Additional context
Think like this but for StackOverflow #4.
p.s. I'd be happy to implement the solution and send a PR if you let me do it that.
The text was updated successfully, but these errors were encountered: