Skip to content

Commit 8044a58

Browse files
committed
ci: pass GITHUB_TOKEN to license attribution step
The dd-license-attribution tool requires a GitHub token to avoid API rate limits. This change explicitly passes the GITHUB_TOKEN as an environment variable to the license regeneration step.
1 parent 8f86699 commit 8044a58

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/update-3rdparty-licenses.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ jobs:
5151
EOF
5252
5353
- name: Regenerate LICENSE-3rdparty.csv
54+
env:
55+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5456
run: |
5557
dd-license-attribution generate-sbom-csv \
5658
--use-mirrors=mirrors.json \

0 commit comments

Comments
 (0)