Skip to content

Commit

Permalink
Check if 24h has passed since opening PR
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilosevic committed Sep 24, 2024
1 parent ae94cb1 commit 72b5afe
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/bake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# "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

0 comments on commit 72b5afe

Please sign in to comment.