File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -201,10 +201,8 @@ func httpBase(ctx *context.Context) *serviceHandler {
201201 }
202202 actionsCfg := repo .MustGetUnit (ctx , unit .TypeActions ).ActionsConfig ()
203203 if ! actionsCfg .IsCollaborativeOwner (task .Repo .OwnerID ) || ! task .Repo .IsPrivate {
204- // See https://docs.github.com/en/actions/sharing-automations/sharing-actions-and-workflows-from-your-private-repository
205- // Any actions or reusable workflows stored in the private repository can be used in
206- // workflows defined in other private repositories owned by the same organization or user.
207- // Actions and reusable workflows stored in private repositories cannot be used in public repositories.
204+ // The task repo can access the current repo only if the task repo is private and
205+ // the owner of the task repo is a collaborative owner of the current repo.
208206 ctx .PlainText (http .StatusForbidden , "User permission denied" )
209207 return nil
210208 }
You can’t perform that action at this time.
0 commit comments