Skip to content

Commit a1aaa37

Browse files
committed
docs: add FAQ link on package version pinning
1 parent 3ff7158 commit a1aaa37

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
hello
111111
```
112112

113-
## Options `with: ...`
113+
# Options `with: ...`
114114

115115
- `interpreter`: Interpreter to use in the nix shell shebang, defaults to
116116
`bash`. (This is passed to `nix run -c`, used to be `-i` in a nix shell
@@ -137,7 +137,9 @@ jobs:
137137
- `working-directory`: Execute the script inside the specified working directory
138138
instead of the repository root. Example: `path/to/dir`
139139

140-
## FAQ: Passing a Github Token against Rate Limits
140+
---
141+
142+
# FAQ: Passing a Github Token against Rate Limits
141143

142144
```yaml
143145
name: 'Test'
@@ -162,9 +164,14 @@ jobs:
162164
docker --help
163165
```
164166
167+
# FAQ: How do I pin a specific version of a package?
168+
169+
See
170+
[This Explanation](https://github.com/workflow/nix-shell-action/issues/346#issuecomment-2440067512)
171+
165172
---
166173
167-
## Hacking
174+
# Hacking
168175
169176
See https://github.com/actions/typescript-action
170177

0 commit comments

Comments
 (0)