Commits any changed files using the GitHub API.
See the Sentry repo for real world examples.
Note: You may want to use a non-default GitHub token (e.g. not the GH Action token) as it will not trigger follow-up workflow runs!
input | required | description |
---|---|---|
github-token |
no | The GitHub Actions token e.g. secrets.GITHUB_TOKEN (See note above) |
message |
no | The commit message to use |
Add the following to your workflow config
- name: Commit changes
uses: getsentry/action-github-commit@v1