-
Notifications
You must be signed in to change notification settings - Fork 229
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
Comments
I also met the same problem. Have you solved it |
Not yet! I had to disable it |
I solved it, found the answer in my readme |
Solution here #80 (comment) |
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. |
I encountered this error when the cronjob tried to update new recent activities.
Please check it out @jamesgeorge007
The text was updated successfully, but these errors were encountered: