Can I set a tag, and let those blog posts don't show in the readme? #141
Replies: 7 comments
-
Can you please elaborate more about what you are looking for. Can you please share a concrete example of it. If you meant using custom tags, yes the workflow currenly supports it. See |
Beta Was this translation helpful? Give feedback.
-
When I set "LeetCode" in custom_tags, my readme only shows the "LeetCode" post. What should I do? Many thanks. |
Beta Was this translation helpful? Give feedback.
-
Sorry i still dont understand what exactly are you trying to acheive here. Please share the code examples if you used any. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Sorry, English is not my native language. I can't express it well. I don't want to see any posts has LeetCode tag on GitHub profile. |
Beta Was this translation helpful? Give feedback.
-
I think the goal is user want to ignore some of the "custom_tag". In order to prevent posting "custom_tag" of posts on the github readme profile. For the usecase of PttCodingMan, because he does not want to show posts related about Leetcode on his profile. |
Beta Was this translation helpful? Give feedback.
-
@PttCodingMan its okay. You can do it like this: on:
workflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the Github Actions Workflow page directly
push:
jobs:
update-readme-with-blog:
name: Update this repo's README with latest blog posts
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Pull in codingman.cc posts
uses: gautamkrishnar/blog-post-workflow@master
with:
timeout_seconds: 60
max_attempts: 3
feed_list: "https://codingman.cc/atom.xml"
custom_tags: 'tag/category/'
item_exec: |
if (customTags.tag.$.term.toLowerCase() === "leetcode") post = null; Thanks for the explanation @Bear1110 |
Beta Was this translation helpful? Give feedback.
-
As title.
Can I set a tag? For example LeetCode.
Let those blog posts don't show in the readme.
Many thanks.
Beta Was this translation helpful? Give feedback.
All reactions