tangzhen/Changes Bot Action
Run commands on file changes and commit/push the results if needed
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| file-patterns | Comma-separated list of file patterns to watch for changes | yes | — |
| command | Command to run when files matching the patterns are changed | yes | — |
| commit-patterns | Comma-separated list of file patterns to commit after command execution | yes | — |
| commit-message | Message to use for auto-commits | no | Auto-commit from changes-bot-action |
| github-token | GitHub token for authentication (auto-provided by GitHub Actions) | no | ${{ github.token }} |
| milliseconds | Delay in milliseconds before running the command (for debugging) | no | 0 |
Outputs
| name | description |
|---|---|
| time | The time when the action completed |
| changes-detected | Boolean indicating if changes were detected |
| files-committed | List of files committed and pushed |