BetaHuhn / repo-file-sync-action

🔄 GitHub Action to keep files like Action workflows or entire directories in sync between multiple repositories.
https://github.com/marketplace/actions/repo-file-sync-action
MIT License
283 stars 82 forks source link

Updated README.md to use `v1.21.0` version instead of `v1` #312

Closed gmanny closed 1 year ago

gmanny commented 1 year ago

The Readme has an older version of the action in code examples, which is fine, but the v1 version is using Node.js 12, so if a user copy pastes some of the examples, they'll get those warnings and possibly some breakage in the future.

Especially this language in the current Readme might be confusing:

If you want to make sure that your workflow doesn't suddenly break when a new major version is released, use the v1 tag instead (recommended usage):

Or am I wrong and GitHub will always choose latest v1 version?

gmanny commented 1 year ago

My bad, the v1 syntax always uses the latest minor version. Sorry for the distraction! :)