https://github.com/micnncim/action-stardust
GitHub Action to run micnncim/stardust
https://github.com/micnncim/action-stardust
Last synced: 4 months ago
JSON representation
GitHub Action to run micnncim/stardust
- Host: GitHub
- URL: https://github.com/micnncim/action-stardust
- Owner: micnncim
- Created: 2020-05-17T10:02:13.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-17T10:29:38.000Z (about 5 years ago)
- Last Synced: 2025-02-04T08:19:37.599Z (5 months ago)
- Language: Dockerfile
- Homepage: https://github.com/marketplace/actions/action-stardust
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Action Stardust
[![actions-workflow-lint][actions-workflow-lint-badge]][actions-workflow-lint]
[![release][release-badge]][release]Run [micnncim/stardust](https://github.com/micnncim/stardust) as a GitHub Action.
## Inputs
| NAME | DESCRIPTION | TYPE | REQUIRED | DEFAULT |
| ----------------- | --------------------------------------------------------------------- | -------- | -------- | ------- |
| `github_token` | A GitHub token. | `string` | `true` | `N/A` |
| `github_username` | A GitHub username. | `string` | `true` | `N/A` |
| `interval` | A interval of reports. Must be in the form of `\d+[hms]` like `168h`. | `string` | `true` | `N/A` |
| `slack_enabled` | Whether Slack is enabled as a reporter. | `bool` | `false` | `N/A` |
| `slack_token` | A Slack token. | `string` | `false` | `N/A` |
| `slack_channel` | A Slack channel. | `string` | `false` | `N/A` |
| `log_level` | A log level. | `string` | `false` | `info` |## Example
```yaml
name: Starduston:
schedule:
- cron: "0 9 * * 0" # At 09:00 on Sundayjobs:
run:
runs-on: ubuntu-latest
steps:
- uses: micnncim/action-stardust@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_username:
interval: 168h # 1 week
slack_enabled: true
slack_token: ${{ secrets.SLACK_TOKEN }}
slack_channel:
```[actions-workflow-lint]: https://github.com/micnncim/action-stardust/actions?query=workflow%3ALint
[actions-workflow-lint-badge]: https://img.shields.io/github/workflow/status/micnncim/action-stardust/Lint?label=Lint&style=for-the-badge&logo=github[release]: https://github.com/micnncim/action-stardust/releases
[release-badge]: https://img.shields.io/github/v/release/micnncim/action-stardust?style=for-the-badge&logo=github