File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1616 # looks absolute, but this is relative to the root of the repo
1717 directory : /example
1818 branch : main
19+ # credentials are optional, but are used to authenticate with private repos and registries when provided
20+ credentials :
21+ - type : git_source
22+ # Most credentials take a url or host
23+ host : github.com
24+ # Credentials will be either username/password or token
25+ username : x-access-token
26+ # Dependabot CLI will inject secrets from the environment
27+ password : $GITHUB_TOKEN
Original file line number Diff line number Diff line change 2525
2626 - name : Run Dependabot
2727 env :
28- LOCAL_GITHUB_ACCESS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28+ # GITHUB_TOKEN shows an example of how Dependabot CLI can be used with secrets.
29+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2930 run : |
3031 ./dependabot update -f .github/dependabot/go.yml --timeout 20m > result.jsonl
3132
You can’t perform that action at this time.
0 commit comments