fix: standardize Gitea Actions workflow format and add version comments #8
Reference in New Issue
Block a user
Delete Branch "fix/action-version-comments"
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?
Summary
Converted the Gitea Actions workflow file (
.gitea/workflows/docker-build.yaml) from full GitHub URL format to the shortowner/repo@shaformat, and added human-readable version comments.Changes
actions/checkout→actions/checkout@df4cb1c...# v6hadolint/hadolint-action→hadolint/hadolint-action@54c9adb...# v3.1.0ChristopherHX/gitea-upload-artifact→ChristopherHX/gitea-upload-artifact@62ac910...# mainChristopherHX/gitea-download-artifact→ChristopherHX/gitea-download-artifact@75635f3...# maindocker/login-action→docker/login-action@650006c...# v4Why
Using short format (
owner/repo@sha) is the standard Gitea Actions syntax — the fullhttps://github.com/...URLs are not necessary and deviate from the expected format. The version comments (# v6,# v3.1.0, etc.) provide clear pinning reference for maintainers.