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] fatal: Error: Invalid status code: 1 #88

Closed
maemreyo opened this issue Nov 3, 2022 · 5 comments
Closed

[Error] fatal: Error: Invalid status code: 1 #88

maemreyo opened this issue Nov 3, 2022 · 5 comments

Comments

@maemreyo
Copy link

maemreyo commented Nov 3, 2022

I encountered this error when the cronjob tried to update new recent activities.
Please check it out @jamesgeorge007
image

@cubxxw
Copy link

cubxxw commented Nov 20, 2022

I also met the same problem. Have you solved it
@maemreyo @panosru @danivijay @edisonlee55 @zeevo

@maemreyo
Copy link
Author

I also met the same problem. Have you solved it @maemreyo @panosru @danivijay @edisonlee55 @zeevo

Not yet! I had to disable it

@cubxxw
Copy link

cubxxw commented Jan 17, 2023

I solved it, found the answer in my readme

@NachoKai
Copy link

Solution here #80 (comment)

@tuunit
Copy link
Collaborator

tuunit commented May 30, 2023

Just add the following permission flag to allow github actions to update the contents of your repository:

name: GitHub Activity

on:
  workflow_dispatch:
  schedule:
    - cron: "0 0 * * *"

jobs:
  build:
    runs-on: ubuntu-latest
    permissions:
      contents: write
    steps:
      - uses: actions/checkout@v3
      - uses: jamesgeorge007/github-activity-readme@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

This way a token with write/commit privileges will be created. I have changed the README.md to reflect this necessary change.

@tuunit tuunit closed this as completed May 30, 2023
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

4 participants