change Pull Request draft to ready on a scheduled day
MIT License
This action make Pull Request draft
to Ready for Review
on a scheduled day.
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 will work.
Creating and storing encrypted secrets