forked from hiero-ledger/hiero-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 1.04 KB
/
bot-issue-reminder-no-pr.yml
File metadata and controls
38 lines (32 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: bot-issue-reminder-no-pr
on:
schedule:
- cron: "0 13 * * *" #runs daily at 13:00 UTC
workflow_dispatch:
inputs:
dry_run:
description: "Dry run (log only, do not post comments)"
required: false
default: true #safe default for manual testing
type: boolean
permissions:
contents: read
issues: write #needed to comment on issues
pull-requests: read #needed to check PR state
jobs:
reminder:
runs-on: ubuntu-latest
steps:
- name: Harden the runner
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 #6.0.1
- name: Post reminder on assigned issues with no PRs
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
DAYS: 7
DRY_RUN: ${{ inputs.dry_run || 'false' }}
run: bash .github/scripts/bot-issue-reminder-no-pr.sh