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

ReadMe update failing #90

Closed
abrahamalen opened this issue Jan 4, 2023 · 7 comments
Closed

ReadMe update failing #90

abrahamalen opened this issue Jan 4, 2023 · 7 comments

Comments

@abrahamalen
Copy link

The GitHub action was working fine till the past couple of days but suddenly some jobs started to fail, any idea what can be the issue?
image

@abrahamalen abrahamalen changed the title Read me update failing ReadMe update failing Jan 4, 2023
@NachoKai
Copy link

Solution here #80 (comment)

@a-y-a-n-das
Copy link

a-y-a-n-das commented Mar 7, 2023

Hi Guys, just found the Complete solution after many hours...
It's due to repo settings.
navigate to Settings > Actions > General > Workflow permissions > allow workflow Read and Write Permissions.
Also,
Copy all the codes. If you only copy and paste the start section and end section in README file. It will not be work.'

# :zap: Recent Activity

<!--START_SECTION:activity-->
1. 🎉 Merged PR [#90](https://github.com/CartimDraluc/Cartimpedia/pull/90) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
2. 💪 Opened PR [#90](https://github.com/CartimDraluc/Cartimpedia/pull/90) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
3. 🗣 Commented on [#89](https://github.com/CartimDraluc/Cartimpedia/issues/89) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
4. ❗️ Closed issue [#89](https://github.com/CartimDraluc/Cartimpedia/issues/89) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
5. ❗️ Opened issue [#89](https://github.com/CartimDraluc/Cartimpedia/issues/89) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
<!--END_SECTION:activity-->

@a-y-a-n-das
Copy link

a-y-a-n-das commented Mar 7, 2023

Hi Guys, just found the Complete solution after many hours... It's due to repo settings. navigate to Settings > Actions > General > Workflow permissions > allow workflow Read and Write Permissions. Also, Copy all the codes. If you only copy and paste the start section and end section in README file. It will not be work.'

# :zap: Recent Activity

<!--START_SECTION:activity-->
1. 🎉 Merged PR [#90](https://github.com/CartimDraluc/Cartimpedia/pull/90) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
2. 💪 Opened PR [#90](https://github.com/CartimDraluc/Cartimpedia/pull/90) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
3. 🗣 Commented on [#89](https://github.com/CartimDraluc/Cartimpedia/issues/89) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
4. ❗️ Closed issue [#89](https://github.com/CartimDraluc/Cartimpedia/issues/89) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
5. ❗️ Opened issue [#89](https://github.com/CartimDraluc/Cartimpedia/issues/89) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
<!--END_SECTION:activity-->

close this issue now, feels great after resolving this issue. Looking forward to contribute more to Open Source.

@gab-villa
Copy link

Hi Guys, just found the Complete solution after many hours... It's due to repo settings. navigate to Settings > Actions > General > Workflow permissions > allow workflow Read and Write Permissions. Also, Copy all the codes. If you only copy and paste the start section and end section in README file. It will not be work.'

# :zap: Recent Activity

<!--START_SECTION:activity-->
1. 🎉 Merged PR [#90](https://github.com/CartimDraluc/Cartimpedia/pull/90) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
2. 💪 Opened PR [#90](https://github.com/CartimDraluc/Cartimpedia/pull/90) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
3. 🗣 Commented on [#89](https://github.com/CartimDraluc/Cartimpedia/issues/89) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
4. ❗️ Closed issue [#89](https://github.com/CartimDraluc/Cartimpedia/issues/89) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
5. ❗️ Opened issue [#89](https://github.com/CartimDraluc/Cartimpedia/issues/89) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
<!--END_SECTION:activity-->

finally solved! thank you bro

@a-y-a-n-das
Copy link

Ur Welcome

@musfique113
Copy link

Thanks this worked for me.

@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

6 participants