How can I check out code with "Enable local Actions only for this repository" permission

When I set my repo’s permission to “Enable local Actions only for this repository”, I cannot use “actions/checkout@v1” to check out code anymore because it is in another repo. When I do that I get error message

Only actions in “xyz” are allowed for this repository

Is there some way for me to still be able to check out the code?

3 Likes

I figured it out now. You need to fork the “actions/checkout” repo to your own organization and use that one instead.

2 Likes

Hey @lgylym Thanks a bunch for coming back and sharing your solution! 

Hi,

what do you mean by the statement “You need to fork the “actions/checkout” repo to your own organization and use that one instead.” Can you please elaborate?

1 Like