Skip to content
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

[Bug]: Error: Cannot find the comment tag on the readme: #54

Closed
rupeshtiwari opened this issue Jan 31, 2021 · 5 comments
Closed

[Bug]: Error: Cannot find the comment tag on the readme: #54

rupeshtiwari opened this issue Jan 31, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@rupeshtiwari
Copy link

Describe the bug
It is keep saying Error: Cannot find the comment tag on the readme:

Expected behavior
Should post successfully.

Screenshots
image
I have the section in my github readme
image
https://github.com/rupeshtiwari

Workflow Yml Used

name: Latest blog post workflow
on:
    schedule: # Run workflow automatically
      # This will make it run every hour
      - cron: '0 * * * *' 
     # Run workflow manually (without waiting for the cron to be called), through the Github Actions Workflow page directly
    workflow_dispatch: 
jobs:
    update-readme-with-blog:
      name: Update this repo's README with latest blog posts
      runs-on: ubuntu-latest
      steps:
        - uses: actions/checkout@v2
        - uses: gautamkrishnar/blog-post-workflow@master
          with:
            committer_username: rupeshtiwari
            readme_path: ./README.md
            committer_email: fullstackmaster1@gmail.com
            # Replace this URL with your rss feed URL/s
            feed_list: "https://rupeshtiwari.github.io/feed.xml"
            gh_token: ${{ secrets.GH_TOKEN }}

Additional context

@rupeshtiwari rupeshtiwari added the bug Something isn't working label Jan 31, 2021
@gautamkrishnar
Copy link
Owner

@rupeshtiwari you are using the wrong tag, use:

# Blog posts
<!-- BLOG-POST-LIST:START -->
<!-- BLOG-POST-LIST:END -->

@gautamkrishnar gautamkrishnar added invalid Not a bug or feature request and removed bug Something isn't working labels Jan 31, 2021
@gautamkrishnar
Copy link
Owner

That message need to be updated, i will update those. Thanks for reporting,

@gautamkrishnar gautamkrishnar added bug Something isn't working and removed invalid Not a bug or feature request labels Jan 31, 2021
@gautamkrishnar
Copy link
Owner

@ragazzo-br
Copy link

I'm having the same problem

@gautamkrishnar
Copy link
Owner

gautamkrishnar commented May 21, 2021

@ragazzo-br as error message says Cannot find the comment tag on the readme: <!-- BLOG-POST-LIST:START --> <!-- BLOG-POST-LIST:END -->, add comment tags to your readme. Please read the documentation: https://github.com/gautamkrishnar/blog-post-workflow/blob/master/README.md before using the action.

You can also check this video: https://www.youtube.com/watch?v=ECuqb5Tv9qI&t=272s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants