ci: use Forgejo-native action context #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/forgejo-native-action-context"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Checklist
Problem
Forgejo exposes native
${{ forgejo.* }}context andFORGEJO_*environment variables, but this action still read GitHub compatibility aliases in its composite metadata and Lua entrypoint.Solution
Use Forgejo-native action context in
action.yml, readFORGEJO_*variables in the action entrypoint, and rename internal event/repository metadata from GitHub to Forgejo terminology.Verification
nix develop --accept-flake-config .#ci --command just cirg -n 'GITHUB_|\\$\\{\\{[[:space:]]*github\\.|Github|github_' action.yml bin lua spec .forgejo