You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -197,6 +197,27 @@ jobs:
197
197
```
198
198
199
199
200
+
### `pinned-cli-version`
201
+
202
+
**Optional** By default, the action will use the latest version of FOSSA CLI.
203
+
In some specific circumstances it makes sense to pin the version of the CLI used by the action.
204
+
To do that you can use `pinned-cli-version`:
205
+
206
+
```yml
207
+
jobs:
208
+
fossa-scan:
209
+
runs-on: ubuntu-latest
210
+
- uses: actions/checkout@v3
211
+
- uses: fossas/fossa-action@main
212
+
with:
213
+
api-key: ${{secrets.FOSSA_API_KEY}}
214
+
pinned-cli-version: v3.0.0
215
+
- uses: actions/upload-artifact@v3
216
+
with:
217
+
name: fossa.debug.json.gz
218
+
path: ./fossa.debug.json.gz
219
+
```
220
+
200
221
### `working-directory`
201
222
202
223
**Optional** By default, the action will scan anything in the default github actions working directory. Use this option to scan a project in a different directory.
0 commit comments