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

Error: No commit found for the ref master #24

Open
nanigan opened this issue May 6, 2022 · 1 comment
Open

Error: No commit found for the ref master #24

nanigan opened this issue May 6, 2022 · 1 comment

Comments

@nanigan
Copy link

nanigan commented May 6, 2022

I'm sure there's something I've configured incorrectly, but the scheduled build fails every night with the error

Error: No commit found for the ref master
✖ fatal HttpError: No commit found for the ref master
at /home/runner/work/_actions/JasonEtco/rss-to-readme/v1/dist/index.js:19081:21
at processTicksAndRejections (internal/process/task_queues.js:97:5)

@rlevchenko
Copy link

rlevchenko commented Aug 22, 2022

mine works fine. changed v1 to v2, set a branch to main and empty-commits to false (since it's just logical to not commit the same rss section. works with set to true as well)

name: Update readme with blog posts
on: 
  schedule:
    - cron: '00 11 * * *'
  push:
    branches: [ main ]
jobs:
  update:
    runs-on: ubuntu-latest
    steps:
      - uses: JasonEtco/rss-to-readme@v2
        with:
          feed-url: https://rlevchenko.com/rss/
          max: 3
          readme-section: feed
          branch: main
          empty-commits: false
          template: "#### [{{ title }}]({{ link }}) \n*{{ pubDate }}*\n\n"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants