You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add GHES-compatible artifact action versions via feature flag
Add a ghes-artifact-compat feature flag that makes the compiler emit
actions/upload-artifact@v3.2.2 and actions/download-artifact@v3.0.2
instead of the latest v7/v8. GHES does not support @actions/artifact
v2.0.0+ (upload-artifact@v4+ / download-artifact@v4+), so compiled
workflows fail with GHESNotSupportedError on enterprise instances.
The fix uses a compile-scoped flag in getActionPin() that automatically
covers all 19 artifact action call sites across the compiler without
modifying each caller. Users opt in via frontmatter:
features:
ghes-artifact-compat: true
Or the GH_AW_FEATURES=ghes-artifact-compat environment variable.
Closes#29551
0 commit comments