pfm-powerforme/PFM-Upstream-Sync
同步仓库.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Feb 26, 2026
- License
- MIT
Pinned Snippet
uses: pfm-powerforme/pfm-action-sync@de2d97951528b7ddb8d51c34c359f68fc9e426b9 # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| upstream_repo_url | 上游仓库地址 | yes | — |
| upstream_sync_branch | 上游仓库分支 | yes | — |
| target_repo_token | 目标仓库密钥 | yes | — |
| target_sync_branch | 同步到目标分支 | no | main |
| match_tag | 需要匹配的版本规则 | no | * |
| exclude_tag | 需要排除匹配后的版本规则 | no | — |
| update_variable_token | 用于更新仓库变量的 GitHub Token (需要 repo 权限) | no | — |
| variable_name | 要更新的变量名称 | no | LATEST_TAG |
Outputs
| name | description |
|---|---|
| has_new_commits | 是否有新的提交 |
| has_match_tags | 当有匹配的版本号时输出 true 其它工作可通过判断此参数 |
| tag | 传递给其它工作流的版本号 |