File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 2828 # GITHUB_TOKEN shows an example of how Dependabot CLI can be used with secrets.
2929 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3030 run : |
31- ./dependabot update -f .github/dependabot/go.yml --timeout 20m > result.jsonl || true
32- ./dependabot update -f .github/dependabot/bundler.yml --timeout 20m >> result.jsonl || true
31+ # Run Dependabot CLI with options:
32+ # -f: the path to the job input
33+ # --local: use the cloned repo as input to avoid cloning again
34+ # --timeout: the maximum time to wait for a job to finish
35+ ./dependabot update \
36+ -f .github/dependabot/go.yml \
37+ --local . \
38+ --timeout 20m >> result.jsonl || true
39+ ./dependabot update \
40+ -f .github/dependabot/bundler.yml \
41+ --local . \
42+ --timeout 20m >> result.jsonl || true
3343
3444 - name : Upload result
3545 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments