actions / starter-workflows

Accelerating new GitHub Actions workflows
https://github.com/features/actions
Other
8.59k stars 5.07k forks source link

Add the concept of a "read-only" synced folder #2388

Closed yoannchaudet closed 1 month ago

yoannchaudet commented 1 month ago

A read-only synced folder is a folder that:

Icons associated with a read-only folder should still stay on the ghes branch.

More context:

In PRs:

In English:

Pages' starter workflows on the main branch are not compatible with GHES anymore until artifacts v4 makes it there. We have attempted various way to work around the GHES sync in this repo (what keep in sync the starter workflow between the main and ghes branch for GHES). The current state is "ok-ish", as in, our icons have disappeared but at least our workflows are there. This PR fixes that with a better solution. It's still a bit hard to wrap once's head around the whole thing, but it does what it should.

Pre-requisites


Please note that at this time we are only accepting new starter workflows for Code Scanning. Updates to existing starter workflows are fine.


Tasks

For all workflows, the workflow:

For CI workflows, the workflow:

For Code Scanning workflows, the workflow:

Some general notes:

JoeFranks1993 commented 1 month ago

@yoannchaudet - Should this be pulled into the GA of 3.13.0? If so, would you please open and merge a 3.13 backport? Once that is completed I can cherry-pick this into 3.13.0 Thanks!