Rss Feed Filter by author #247
-
Beta Was this translation helpful? Give feedback.
Answered by
gautamkrishnar
Apr 11, 2024
Replies: 1 comment 1 reply
-
just use name: Latest Contributions
on:
schedule:
# Runs every hour
- cron: "0 2 * * *"
workflow_dispatch:
permissions:
contents: write
jobs:
update-readme-with-stackexchange:
name: Update this repo's README with latest contributions
runs-on: ubuntu-latest
steps:
- uses: gautamkrishnar/blog-post-workflow@master
with:
comment_tag_name: "Blog"
feed_list: "https://blogs.bitesinbyte.com/feed.xml"
max_post_count: 3
item_exec: |
if (item.author !== "manishtiwari25") post = null; Read more: #34 (comment) You can also put console.log(item) to see what exactly your feed returns and adjust the logic accordingly. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
manishtiwari25
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
just use
item_exec
. You will be able to filter it. in this case:Read more: #34 (comment)
You can also put console.log(item) …