Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if 24h has passed since opening PR #804

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/bake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# "Bake" workflow check if 24 hours have passed since opening pull request
# making sure that reviewers have enough time to review the code

name: Bake for 24h
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
Loading