pfm-powerforme/PFM-Upstream-Sync

同步仓库.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Feb 26, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: pfm-powerforme/pfm-action-sync@de2d97951528b7ddb8d51c34c359f68fc9e426b9 # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
upstream_repo_url上游仓库地址yes
upstream_sync_branch上游仓库分支yes
target_repo_token目标仓库密钥yes
target_sync_branch同步到目标分支nomain
match_tag需要匹配的版本规则no*
exclude_tag需要排除匹配后的版本规则no
update_variable_token用于更新仓库变量的 GitHub Token (需要 repo 权限)no
variable_name要更新的变量名称noLATEST_TAG
namedescription
has_new_commits是否有新的提交
has_match_tags当有匹配的版本号时输出 true 其它工作可通过判断此参数
tag传递给其它工作流的版本号