Document Gitea package publishing pitfalls
This commit is contained in:
@@ -159,7 +159,7 @@ build
|
||||
upload artifacts
|
||||
```
|
||||
|
||||
Only publish artifacts to a package registry when the artifact names and credentials are known.
|
||||
Only publish artifacts to a package registry when the artifact names and credentials are known. `actions/upload-artifact` creates a workflow-run artifact, not a Gitea Package Registry package. If users need a package/download entry, add a separate generic package upload step with `REGISTRY_TOKEN`, copy artifacts to URL-safe filenames before upload, and verify the final package URL after the workflow succeeds.
|
||||
|
||||
For releasable projects, config tools, apps, or repositories that process user data, secrets, or deployment files, also add `.gitea/workflows/security-scan.yml`. Keep the scheduled workflow conservative and review false positives before silencing checks.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user