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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ commit that introduced it.

## Unreleased

- Run without `pull_request_target`. With `status-context`, the action reports its result as a commit status on the pull request's head, so a `workflow_run` workflow triggered by a secret-free `pull_request` workflow can check fork pull requests. `head-sha` selects the open pull request with that head through the API. Signing by comment updates the status instead of rerunning a workflow. Pull requests that share a head get an `error` status, and a check that overlaps a signature runs again. Without `status-context` the action behaves as before.
- Check the parent fork daily and open one tracking issue per upstream tip with commits missing from this fork's history.
- Open Waters maintains its own fork with pinned CI actions, Node 24 checks, weekly dependency updates, and verification of the committed action bundle.
- Resolve primary authors and co-authors through GitHub's account identities, including legacy noreply and verified email addresses. Reject null author entries and commits with more than 100 authors instead of skipping contributors.
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
>
> Consumers must pin a reviewed commit SHA. Open Waters owns dependency updates, security fixes, and the committed JavaScript bundle. Upstream changes are reviewed before adoption. [CHANGELOG.md](./CHANGELOG.md) records the upstream changes.

For the protected-main integration, follow the [Open Waters CLA setup](docs/open-waters.md).
For the protected-main integration, follow the [Open Waters CLA setup](docs/open-waters.md). It runs without `pull_request_target`: a secret-free `pull_request` workflow triggers a `workflow_run` workflow that checks the pull request and reports a `cla` commit status on its head (the `status-context` and `head-sha` inputs).

## Development

Expand Down Expand Up @@ -193,6 +193,8 @@ This PAT should have repo scope and is only required if you have configured to s
| `suggest-recheck` | _optional_ | Boolean input for indicating if the action's comment should suggest that users comment `recheck`. Default is set to `true`. | false |
| `use-dco-flag` | _optional_ | Boolean input. Set to `true` to run the action in DCO (Developer Certificate of Origin) mode instead of CLA mode. The bot's prompts and persistence logic use DCO wording. Default is `false`. | true |
| `require-opener-as-author` | _optional_ | Boolean input. When `true` (the default), fail the check if the Pull Request opener is not recorded as an author or co-author of any commit. Guards against an attacker opening a PR whose commits are attributed to an identity they do not control. Set to `false` for workflows that legitimately involve submitting commits authored by others (cherry-picks, release-engineering patch submission, mailing-list-style contribution). | false |
| `status-context` | _optional_ | Report the result as a commit status with this context on the pull request's head commit, for `workflow_run` and `issue_comment` workflows, which run on the base repository and cannot report on the pull request through their own job. Signing by comment then updates the status instead of rerunning a workflow. An unsigned result fails only the status, not the job, and conversation locking does not run. Needs `statuses: write`. | cla |
| `head-sha` | _optional_ | With `status-context`, check the open pull request whose head is this commit. Required with `status-context` on every event except `issue_comment`. When several open pull requests share the head, the status is `error`. | ${{ github.event.workflow_run.head_sha }} |

### Outputs

Expand Down
Loading
Loading