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

You don't have the required permissions to perform this operation. #228

Closed
linonetwo opened this issue Sep 6, 2023 · 5 comments
Closed

Comments

@linonetwo
Copy link

linonetwo commented Sep 6, 2023

Description of the bug

I already have repository secret

截屏2023-09-06 14 37 33 截屏2023-09-06 14 37 55

The run https://github.com/tiddly-gittly/TidGi-Mobile/actions/runs/6093556409/job/16533421643

To Reproduce

What steps did you perform which led to this issue?

  1. Create a repo in an Github Organization
  2. Init with expo project
  3. Setup repository secret and try run the workflow

Expected behavior

Run as local eas build --platform android --non-interactive does (logined)

Actual behavior

Error about "You don't have the required permissions to perform this operation."

Additional context

Trying to use github actions to release an apk for a free opensource project in an organization. And I want to upload artifact to Github Release #182 so I don't need to pay for Google/Apple to upload to store, because it is a free opensourced project.

@linonetwo
Copy link
Author

Fixed by:

  1. create an organization on eas (previously it was on my personal eas account), now both eas and github use organization account,
  2. connect github repo to the eas organization, then it works.

@Reinhartsamuel
Copy link

I encountered this problem when I cloned my repo to another Expo Project, with another Expo account of mine.

To reproduce this, simply:

  1. eas whoami --> make sure you already connected with the correct expo account on your repo before building.
  2. If the account is not the same, eas logout and then eas login with the correct email and password
  3. Last, connect the project id you get from expo dashboard by eas init --id your-project-id-here

@Ritheshnv
Copy link

I encountered this problem when I cloned my repo to another Expo Project, with another Expo account of mine.

To reproduce this, simply:

  1. eas whoami --> make sure you already connected with the correct expo account on your repo before building.
  2. If the account is not the same, eas logout and then eas login with the correct email and password
  3. Last, connect the project id you get from expo dashboard by eas init --id your-project-id-here

Thank you so much....eas init --id accept overiding project it, should work now

@MohammedAlez
Copy link

Try to delete the projectId in your app.json because it's related to another account

@Ritheshnv
Copy link

Ritheshnv commented Jun 10, 2024 via email

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