You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I learned through this issue (#118) I posted yesterday that the action won't work on WordPress if any posts are missing a title tag. However, title tags are not necessary on custom post types like ASIDE, which is what the post on my blog was. Please add an exception for the "aside" post type in WordPress when checking for title tags.
Describe the solution you'd like
Here is PHP-ish pseudocode solution:
// Define exclusions$exclusions = array('aside');
if ( in_array($this_post_type(), $exclusions ) ) {
// don't cause title tag to fail ... maybe something like:$title = '';
} else {
$title = $title;
}
Describe alternatives you've considered
N/A
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
@codewizard13 you can now use the following to disable validation:
name: Latest blog post workflowon:
schedule: # Run workflow automatically
- cron: '0 * * * *'# Runs every hour, on the hourworkflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the Github Actions Workflow page directlyjobs:
update-readme-with-blog:
name: Update this repo's README with latest blog postsruns-on: ubuntu-lateststeps:
- name: Checkoutuses: actions/checkout@v2
- name: Pull in dev.to postsuses: gautamkrishnar/blog-post-workflow@masterwith:
feed_list: "https://erichepperle.com/category/programming-coding/feed"disable_item_validation: true
You can hide that item from the readme entirely via the following code:
name: Latest blog post workflowon:
schedule: # Run workflow automatically
- cron: '0 * * * *'# Runs every hour, on the hourworkflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the Github Actions Workflow page directlyjobs:
update-readme-with-blog:
name: Update this repo's README with latest blog postsruns-on: ubuntu-lateststeps:
- name: Checkoutuses: actions/checkout@v2
- name: Pull in dev.to postsuses: gautamkrishnar/blog-post-workflow@masterwith:
feed_list: "https://erichepperle.com/category/programming-coding/feed"disable_item_validation: trueitem_exec: | if (!post.title) post = null;
Is your feature request related to a problem? Please describe.
I learned through this issue (#118) I posted yesterday that the action won't work on WordPress if any posts are missing a title tag. However, title tags are not necessary on custom post types like ASIDE, which is what the post on my blog was. Please add an exception for the "aside" post type in WordPress when checking for title tags.
Describe the solution you'd like
Here is PHP-ish pseudocode solution:
Describe alternatives you've considered
N/A
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: