Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yanamura/draft-to-ready-schedule-action
https://github.com/yanamura/draft-to-ready-schedule-action
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/yanamura/draft-to-ready-schedule-action
- Owner: yanamura
- License: mit
- Created: 2020-09-05T08:10:11.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T13:58:57.000Z (almost 2 years ago)
- Last Synced: 2024-10-27T08:23:08.710Z (2 months ago)
- Language: TypeScript
- Size: 553 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Draft to Ready schedule action
This action make Pull Request `draft` to `Ready for Review` on a scheduled day.
## Usage
```yaml
on:
schedule:
# schedule setting is required.
- cron: '0 * * * *'
jobs:
to-ready:
- uses: yanamura/draft-pullrequest-to-ready@v1
with:
### GitHub token which have a permission to write repository (Can't use GITHUB_TOKEN).(required)
github_token: ${{ secrets.BOT_TOKEN }}
```In your pull requests, add a line to the end of the pull request description like this
```
/schedule 2020-11-01
```Or if you need a more precise, timezone-safe setting, you can use an ISO 8601 date string
```
/schedule 2020-11-01T00:00:00.000+0900
```Any string that works with the [`new Date()` constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Date) will work.
## How set GitHub token