mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2025-09-04 07:11:58 +03:00
Merge pull request #162 from dtolnay/pin
Add note about full-length SHA
This commit is contained in:
commit
5ee21dc396
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
@ -99,6 +99,18 @@ compiler support.
|
|||
|
||||
<br>
|
||||
|
||||
## Choice of full-length commit SHA
|
||||
|
||||
In a workflow that [pins the action][pin] using a full-length commit SHA (as
|
||||
opposed to something like @nightly or @1.89.0) it is required that you pick a
|
||||
SHA that is within the history of the master branch. Any commit that is not
|
||||
within the history of master will eventually get garbage-collected and your
|
||||
workflows will fail.
|
||||
|
||||
[pin]: https://docs.github.com/en/actions/reference/security/secure-use#using-third-party-actions
|
||||
|
||||
<br>
|
||||
|
||||
## License
|
||||
|
||||
The scripts and documentation in this project are released under the [MIT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue