statens-pensjonskasse/Create Signed Commit
Create a signed commit using the GitHub API without pushing it
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| working-directory | Working directory for git operations | no | . |
| token | GitHub token with permissions to access the repository | yes | — |
| message | The commit message | yes | — |
| repository | The repository in format owner/repo | no | ${{ github.repository }} |
| branch | The branch to create the commit on | no | ${{ github.ref_name }} |
| fail-on-no-changes | Fail if there are no changes to commit | no | true |
| paths | Newline-separated list of file and/or folder paths to commit. If not specified, commits all changed files. | no | — |
| fetch-commit | Fetch the created commit locally after creation | no | true |
| push | Push the commit to the remote branch after creation | no | false |
| parent-commit | SHA of the parent commit. If not specified, uses the current HEAD of the branch | no | — |
Outputs
| name | description |
|---|---|
| commit-sha | The SHA of the created commit |
| tree-sha | The SHA of the created tree |