Check if 24h has passed since opening PR #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# "Bake" workflow check if 24 hours have passed since opening pull request | |
# making sure that reviewers have enough time to review the code | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
schedule: | |
- cron: '0 */1 * * *' # Runs every 1 hour | |
jobs: | |
baking_pull_request: | |
name: "Baking pull request ..." | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- uses: peternied/[email protected] | |
with: | |
check-name: "Baking pull request..." | |
delay-hours: 24 |