Skip to content

bot-issue-reminder-no-pr #48

bot-issue-reminder-no-pr

bot-issue-reminder-no-pr #48

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@5ef0c079ce82195b2a36a210272d6b661572d83e
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