File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Downloads SBOMs from GitHub. Uploads to S3 and ClickHouse.
88
99| Name | Description | Default | Required | Sensitive |
1010| --------------------- | ------------------------------------ | -------------- | -------- | --------- |
11- | github-token | GitHub token for authentication | | true | true |
11+ | github-token | GitHub token for authentication | | false | true |
1212| ghapp-token | GitHub App token for authentication | | false | true |
1313| aws-access-key-id | AWS access key ID for S3 uploads | | true | true |
1414| aws-secret-access-key | AWS secret access key for S3 uploads | | true | true |
@@ -20,6 +20,10 @@ Downloads SBOMs from GitHub. Uploads to S3 and ClickHouse.
2020| ref | Git reference (branch, tag, commit) | main | false | false |
2121| clickhouse-url | ClickHouse URL for uploads | | false | false |
2222
23+ ### Notes
24+
25+ - Either ` github-token ` or ` ghapp-token ` must be provided for authentication to the GitHub API.
26+
2327## Usage
2428
2529### Same Repository
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ author: 'Your Name'
44inputs :
55 github-token :
66 description : ' GitHub token for API access'
7- required : true
7+ required : false
88 ghapp-token :
99 description : ' GitHub App token for API access'
1010 required : false
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ log_error() {
2828
2929# Validate required environment variables
3030validate_env () {
31- local required_vars=(" GITHUB_TOKEN " " AWS_ACCESS_KEY_ID" " AWS_SECRET_ACCESS_KEY" " S3_BUCKET" " REPOSITORY" )
31+ local required_vars=(" AWS_ACCESS_KEY_ID" " AWS_SECRET_ACCESS_KEY" " S3_BUCKET" " REPOSITORY" )
3232
3333 for var in " ${required_vars[@]} " ; do
3434 if [[ -z " ${! var:- } " ]]; then
You can’t perform that action at this time.
0 commit comments