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

Actions Error: Invalid Status Code: 1 #9

Closed
codeSTACKr opened this issue Aug 13, 2020 · 5 comments
Closed

Actions Error: Invalid Status Code: 1 #9

codeSTACKr opened this issue Aug 13, 2020 · 5 comments

Comments

@codeSTACKr
Copy link

I'm not sure why it's erroring:

image

@codeSTACKr
Copy link
Author

The workflow is running now but it is overwriting everything in my readme: ( I do have the comments

  1. ❗️ Opened issue #9 in jamesgeorge007/github-activity-readme

  2. 🎉 Merged PR #3 in codeSTACKr/codeSTACKr

  3. 🎉 Merged PR #1 in codeSTACKr/battleships

  4. 💪 Opened PR #1 in codeSTACKr/battleships

  5. 🎉 Merged PR #2 in kubowania/battleships

  6. undefined

  7. undefined

  8. undefined

  9. undefined

  10. undefined

  11. undefined

  12. undefined

  13. undefined

  14. undefined

  15. undefined

  16. undefined

  17. undefined

  18. undefined

  19. undefined

  20. undefined

  21. undefined

  22. undefined

  23. undefined

  24. undefined

  25. undefined

  26. undefined

  27. undefined

  28. undefined

  29. undefined

  30. undefined

  31. undefined

  32. undefined

  33. undefined

  34. undefined

  35. undefined

  36. undefined

  37. undefined

  38. undefined

  39. undefined

  40. undefined

  41. undefined

  42. undefined

  43. undefined

  44. undefined

  45. undefined

  46. undefined

  47. undefined

  48. undefined

  49. undefined

  50. undefined

  51. undefined

  52. undefined

  53. undefined

  54. undefined

  55. undefined

  56. undefined

  57. undefined

  58. undefined

  59. undefined

  60. undefined

  61. undefined

  62. undefined

  63. undefined

  64. undefined

  65. undefined

  66. undefined

  67. undefined

  68. undefined

  69. undefined

  70. undefined

  71. undefined

  72. undefined

  73. undefined

  74. undefined

  75. undefined

  76. undefined

  77. undefined

  78. undefined

@codeSTACKr
Copy link
Author

Seems to have been 2 separate issues. I'm am still unsure why the action was erroring at first. The 2nd issue was my fault. I included the trailing comment thinking the action would insert the activity in between. I removed the trailing comment and white space before the beginning comment and all is working fine now 😄

@ikostan
Copy link

ikostan commented Aug 16, 2020

Hi all,

Too bad you close this issue. I am having same problem:

` Run jamesgeorge007/github-activity-readme@master1s
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
Run jamesgeorge007/github-activity-readme@master
⬤ debug Getting activity for ikostan
⬤ debug Activity for ikostan, 100 events found.
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
⬤ debug Something went wrong
✖ fatal Error: Invalid status code: 1
at ChildProcess. (/home/runner/work/_actions/jamesgeorge007/github-activity-readme/master/dist/index.js:12526:15)
at ChildProcess.emit (events.js:210:5)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)`

@jamesgeorge007
Copy link
Owner

@ikostan the <!--END_SECTION:activity--> comment is supposed to be inserted by the GitHub Action. I just pushed a fix such that it respects the trailing comment. Can you give it a try again?

@ikostan
Copy link

ikostan commented Aug 16, 2020

@ikostan the <!--END_SECTION:activity--> comment is supposed to be inserted by the GitHub Action. I just pushed a fix such that it respects the trailing comment. Can you give it a try again?

Hi. Now it works. However, it generated list with only one activity...

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

3 participants