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 Code 128 #67

Closed
Gr8z opened this issue May 29, 2021 · 7 comments
Closed

[Bug]: Error Code 128 #67

Gr8z opened this issue May 29, 2021 · 7 comments
Labels
invalid Not a bug or feature request

Comments

@Gr8z
Copy link

Gr8z commented May 29, 2021

I am getting the following error when I try to run this action with my RSS feed:

{"code":128,"outputData":""}

action.yml

      - uses: gautamkrishnar/blog-post-workflow@master
        with:
          feed_list: "https://dohad.dev/feed.xml"
@Gr8z Gr8z added the bug Something isn't working label May 29, 2021
@Gr8z Gr8z changed the title [Bug]: [Bug]: Error Code 128 May 29, 2021
@gautamkrishnar
Copy link
Owner

gautamkrishnar commented May 29, 2021

hi @Gr8z i cannot reproduce this on my test repo.
Screenshot 2021-05-29 at 3 23 16 PM

Please dont combine the workflow with wakatime readme workflow. Just create a new .github/workflows/blog-post-workflow.yml and add the code there.

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

gautamkrishnar commented May 29, 2021

Also there is a mistake in your code. This workflow requires checkout action to be included. Please check the docs before using the workflow:
https://github.com/gautamkrishnar/blog-post-workflow#how-to-use

You missed:

- uses: actions/checkout@v2

This is the main reason why the workflow is failing in your repo.

@guangzhengli
Copy link

I used uses: actions/checkout@v2, but it still not work.

Finally, I found it needs to open workflows write permissions in Setting -> Actions

sIkzuw

@gautamkrishnar
Copy link
Owner

gautamkrishnar commented Aug 14, 2022

@guangzhengli it is working now https://github.com/guangzhengli/guangzhengli/runs/7825931241?check_suite_focus=true it might be because of the wrong secrets.GITHUB_TOKEN you had given.

@Danie10
Copy link

Danie10 commented Sep 30, 2022

I had exactly the same issue here - think this permissions setting needs to be mentioned in readme.md. It may not be an issue for those who already had work flows, but for first time creators, this is going to trip them up.

@gautamkrishnar
Copy link
Owner

gautamkrishnar commented Sep 30, 2022

@Danie10 I never personally received this issue in my account. As far as I know, the workflow permission option is by default "read and write", unless you manually changed it. Are you sure that you are able to reproduce this issue on all new accounts and repos?

Update, tried creating a new repo it is also by default r/w:
Screenshot 2022-10-01 at 4 26 29 AM

Anyway, I had added the same to the readme so that people can know: 020f63d

@Danie10
Copy link

Danie10 commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Not a bug or feature request
Projects
None yet
Development

No branches or pull requests

4 participants