grbnb/Random Workflows Cron
Generate a random cron expression based on the current time and specified number of intervals.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| workflow_name | Workflow_filename path to be modified | yes | ${{ github.workflow_ref }} |
| push_switch | The modified workflow_file push or not at once | no | true |
| github_token | GitHub api token [PAT] The key must have repo and workflow permissions | yes | ${{ github.token }} |
| repository | The owner and repository name | no | ${{ github.repository }} |
| ref_branch | The modified workflow_file push to destination branch | no | ${{ github.ref_name }} |
| keep_history | Keep the workflow_file history commit message. | no | false |
| author | The author name and email address to push commit. | no | github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
| time_zone | The time zone of the user's region, with a range of UTC±12 (default UTC+0). | no | — |
| hour_start | Define the intervals start hour (default 0). | no | — |
| hour_end | Define the intervals end hour (default 23). | no | — |
| interval_count | Number of intervals to divide the day into (default 2). | no | — |
| cron_dmw | Custom cron DayofMonth Month DayofWeek (default "* * *"). | no | — |
Outputs
no outputs