Skip to content

Commit ed196ec

Browse files
committed
Add note about full-length SHA
1 parent 57e4097 commit ed196ec

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,18 @@ compiler support.
9999
100100
<br>
101101
102+
## Choice of full-length commit SHA
103+
104+
In a workflow that [pins the action][pin] using a full-length commit SHA (as
105+
opposed to something like @nightly or @1.89.0) it is required that you pick a
106+
SHA that is within the history of the master branch. Any commit that is not
107+
within the history of master will eventually get garbage-collected and your
108+
workflows will fail.
109+
110+
[pin]: https://docs.github.com/en/actions/reference/security/secure-use#using-third-party-actions
111+
112+
<br>
113+
102114
## License
103115
104116
The scripts and documentation in this project are released under the [MIT

0 commit comments

Comments
 (0)