From 4216dcea816e5ab8268bd5ce6d135bc958da7ee7 Mon Sep 17 00:00:00 2001 From: AtomicFS Date: Thu, 26 Sep 2024 13:03:15 +0200 Subject: [PATCH] feat(ci): add 2nd part to reminder bot - in the first PR I forgot that the reminder bot consists of two separate parts - 1st part creates the label and metadata on issue creation - 2nd part runs on schedule and checks labeled issues Signed-off-by: AtomicFS --- .github/workflows/bot--reminder-schedule.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/bot--reminder-schedule.yml diff --git a/.github/workflows/bot--reminder-schedule.yml b/.github/workflows/bot--reminder-schedule.yml new file mode 100644 index 00000000..8f946da4 --- /dev/null +++ b/.github/workflows/bot--reminder-schedule.yml @@ -0,0 +1,20 @@ +--- +# Docs: https://github.com/agrc/reminder-action +# create-reminder-action cannot be scheduled +# for scheduled runs this is needed +name: 'reminder-schedule' + +on: + schedule: + - cron: '0 * * * *' + +permissions: + issues: write + pull-requests: write + +jobs: + reminder-schedule: + runs-on: ubuntu-latest + steps: + - name: check reminders and notify + uses: agrc/reminder-action@v1