cfal/Squash and sign
Force-replaces a pull-request branch with Verified commits derived from the PR's diff vs base. By default squashes everything into one commit; with squash: 'false' produces one Verified commit per original PR commit. Same-repo PRs only.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | Token to push with. Default produces commits attributed to github-actions[bot] and marked Verified. | — | ${{ github.token }} |
| workflow-path | Path of the self-destructing workflow file to drop from the squash. Defaults to the path inferred from github.workflow_ref. | — | "" |
| commit-title | Title for the squashed commit. Defaults to the PR title. Ignored when squash is 'false'. | — | ${{ github.event.pull_request.title }} |
| reset-workflows | If true, restore .github/workflows from base before commit. Use this when the trigger commit deleted other workflow files to keep them quiet. WARNING: any genuine workflow-file edits in the PR are clobbered. | — | false |
| squash | If 'true' (default), squash all PR commits into a single Verified commit. If 'false', create one Verified commit per original PR commit, preserving authorship and message per commit. | — | true |
Outputs
no outputs