We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02ae9bf commit f5cf689Copy full SHA for f5cf689
1 file changed
.github/workflows/linter.md
@@ -39,6 +39,18 @@ Executes:
39
40
<!-- overview:end -->
41
42
+### GitHub Actions Pinning
43
+
44
+**Tips:** To ensure that all GitHub Actions used in your workflows are pinned to a specific version,
45
+you can use the [Ratchet](https://github.com/sethvargo/ratchet) tool integrated into this workflow.
46
47
+```sh
48
+docker run -it --rm -v "${PWD}:${PWD}" -w "${PWD}" -u $(id -u):$(id -g) \
49
+ --env GITHUB_TOKEN=$(gh auth token) \
50
+ ghcr.io/sethvargo/ratchet:latest \
51
+ lint ".github/workflows/file-to-lint.yml"
52
+```
53
54
<!-- usage:start -->
55
56
## Usage
0 commit comments