Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [1.6.0] - 2025-05-16

### Added

- Add optional `github-status-gw` input to allow for customizing the gateway used for the commit status updates.

## [1.5.0] - 2025-03-07

### Added
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ The signing key and proof will be used as [inputs](#inputs) to the action.
| `filebase-secret-key` | Filebase secret key | - |
| `set-github-status` | Set GitHub commit status with build CID. Use "true" or "false" (as strings) | `'true'` |
| `set-pr-comment` | Set PR comments with IPFS deployment information. Use "true" or "false" (as strings) | `'true'` |
| `github-status-gw` | Gateway to use for the links in commit status updates (The green checkmark with the CID) | `'inbrowser.link'` |
| `upload-car-artifact` | Upload and publish the CAR file on GitHub Action Summary pages | `'true'` |
| `cluster-retry-attempts` | Number of retry attempts for IPFS Cluster uploads | `'5'` |
| `cluster-timeout-minutes` | Timeout in minutes for each IPFS Cluster upload attempt | `'2'` |
Expand Down
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ inputs:
description: 'Set GitHub commit status with build CID. Use "true" or "false" (as strings)'
default: 'true'
required: false
github-status-gw:
description: 'Gateway URL to use for the commit status target_url. Defaults to `inbrowser.link`'
default: 'inbrowser.link'
required: false
set-pr-comment:
description: 'Set PR comments with IPFS deployment information. Use "true" or "false" (as strings)'
default: 'true'
Expand Down Expand Up @@ -327,7 +331,7 @@ runs:
repo: context.repo.repo,
sha: sha,
state: 'success',
target_url: `https://inbrowser.link/ipfs/${cid}`,
target_url: `https://${{ inputs.github-status-gw }}/ipfs/${cid}`,
description: `CID: ${cid}`,
context: 'IPFS'
});
Expand Down