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

Private repos need explicit content read permissions to perform code checkout step. #280

Closed
nikodevv opened this issue Jun 7, 2022 · 1 comment · Fixed by #281
Closed
Assignees
Labels
bug Something isn't working

Comments

@nikodevv
Copy link
Contributor

nikodevv commented Jun 7, 2022

Describe a bug

Private repos need explicit content read permissions to perform code checkout step. This is missing from the "minimal setup" instructions in README.

Without this permission, the checkout step will throw a

fatal: repository 'https://github.com/my/repo/' not found

Expected behavior

The "minimal setup" from readme doesn't work for private repos.

Details

  • Action version: (any) this affects the checkout step in the setup documentation, not the jest-coverage-report-action source code.

  • OS, where your action is running (windows, linux):

  • action.yml file
    ```yml
    # Insert your action.yml file here. Don't forget to remove all sensitive information (e.g. tokens)
    ```
    
  • Screenshots
    <!-- If you encounter an incorrect coverage comment display, replace this comment with screenshot -->
    
    <!-- If your action unexpectedly fails, please replace this comment with a screenshot of your console  -->
    

Additional context

@nikodevv
Copy link
Contributor Author

nikodevv commented Jun 7, 2022

oneliner fix: #281

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants