-
Notifications
You must be signed in to change notification settings - Fork 61.8k
Suggest semantic versioned tags only to suitable action publishers #17681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The security guide recommends users avoid using tags when using third-party actions. See "Pin actions to a full length commit SHA" and "Pin actions to a tag only if you trust the creator" on the following page: https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions But this doc suggests action authors provide semantic versioned tags, that will motivate action users to use tags instead of full-length commit SHA. To keep documents consistent, here we suggest semantic versioned tags only for internal-use actions. It is OK for internal-use actions, like private actions used for audits because the author is not a "third-party" for users and it should be trusted for them. Signed-off-by: Kengo TODA <skypencil+github@gmail.com>
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
Automatically generated comment ℹ️This comment is automatically generated and will be overwritten every time changes are committed to this branch. The table contains an overview of files in the Content directory changesYou may find it useful to copy this table into the pull request summary. There you can edit it to share links to important articles or changes and to give a high-level overview of how the changes in your pull request support the overall goals of the pull request.
|
Thanks for opening a pull request! We've triaged this issue for technical review by a subject matter expert 👀 |
This is a gentle bump for the docs team that this PR is waiting for technical review. |
@KengoTODA Thanks so much for opening a pull request! Our docs are prescriptive and this doesn't follow along with our current guidance. I'm going to close this PR 💛 Thanks for your interest and passion in improving the GitHub docs ✨ |
Hello, thanks for making the doc open and easy to discuss!
Here I want to discuss the idea to improve the consistency, hoping that it helps to improve users' experience and security.
Why:
The security guide recommends users avoid using tags when using third-party actions.
See "Pin actions to a full length commit SHA" and "Pin actions to a tag only if you trust
the creator" on the page for detail.
But the "Releasing and maintaining actions" doc suggests all action-authors provide semantic versioned tags, that will motivate action users to use tags instead of full length commit SHA.
Between these official docs, we have an inconsistent description at this moment.
What's being changed:
This proposal changed semantic versioned tags suggested only for internal-use actions.
It is OK for internal-use actions, like private actions used for audits because the author is not a "third-party" for users and it should be trusted by them.
Check off the following:
Thanks for checking this PR! 👋
Writer impact (This section is for GitHub staff members only):