From 72b5afebcd9c22a00da49af4f3b133b254bd01c4 Mon Sep 17 00:00:00 2001 From: Vladimir Milosevic Date: Tue, 24 Sep 2024 11:34:41 +0000 Subject: [PATCH] Check if 24h has passed since opening PR --- .github/workflows/bake.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/bake.yml diff --git a/.github/workflows/bake.yml b/.github/workflows/bake.yml new file mode 100644 index 000000000..25bddbed1 --- /dev/null +++ b/.github/workflows/bake.yml @@ -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/bake-time@v3.3 + with: + check-name: "Baking pull request..." + delay-hours: 24