{"id":22199258,"url":"https://github.com/babbel/stale-pr-reporter","last_synced_at":"2026-05-01T10:32:21.184Z","repository":{"id":243044795,"uuid":"806623541","full_name":"babbel/stale-pr-reporter","owner":"babbel","description":"Stale PR Reporter is a GitHub Action designed to notify a Slack when pull requests from Dependabot and Renovate have become stale based on a specified timeframe.","archived":false,"fork":false,"pushed_at":"2025-06-25T07:50:10.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2026-04-23T00:25:18.359Z","etag":null,"topics":["actions"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/babbel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-05-27T14:55:17.000Z","updated_at":"2025-06-17T09:03:39.000Z","dependencies_parsed_at":"2025-06-12T12:36:11.705Z","dependency_job_id":"2c4a2ed6-31d1-4110-b469-f4340a5fc1ca","html_url":"https://github.com/babbel/stale-pr-reporter","commit_stats":null,"previous_names":["babbel/stale-pr-reporter"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/babbel/stale-pr-reporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babbel%2Fstale-pr-reporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babbel%2Fstale-pr-reporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babbel%2Fstale-pr-reporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babbel%2Fstale-pr-reporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babbel","download_url":"https://codeload.github.com/babbel/stale-pr-reporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babbel%2Fstale-pr-reporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32494270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions"],"created_at":"2024-12-02T15:13:47.393Z","updated_at":"2026-05-01T10:32:21.167Z","avatar_url":"https://github.com/babbel.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stale PR Reporter\nGithub Action to report stale PRs from dependabot/renovate to the slack channel.\n\n## Overview\nThe **Stale PR Reporter** is a GitHub Action designed to report Slack when pull requests from Dependabot and Renovate have become stale based on a specified timeframe. This action is useful for teams that want to keep track of aging PRs to ensure they are reviewed and merged in a timely manner.\n\n## Features\n- Checks for open pull requests from Dependabot and Renovate.\n- Reports to Slack if these PRs have been open longer than a specified number of hours (default: 48 hours).\n- Configurable threshold for PR staleness.\n\n## Inputs\n\n### `pr_age_in_hours`\n- **Description**: Total number of hours since the Pull Request (PR) was opened. If a PR exceeds this age, it will be considered stale.\n- **Required**: No\n- **Default**: 48 hours\n\n### `slack_webhook_url`\n- **Description**: The Slack webhook URL where notifications will be sent.\n- **Required**: Yes\n\n## Usage\n\n### Setup\n1. **Create a Slack Webhook**:\n   - Navigate to your Slack App settings and create a new incoming webhook.\n   - Copy the webhook URL which will be used to send notifications from this action.\n   - Add the webhook secret to SecretsManager\n\n2. **Add the GitHub Action to Your Repository**:\n   - Create a directory `.github/workflows` in your repository if it doesn't already exist.\n   - Add a new YAML file in this directory for the workflow, e.g., `stale-pr-reporter.yml`.\n\n### Example Workflow File\nCreate a file named `.github/workflows/stale-pr-reporter.yml` and add the following content:\nyaml name: Stale PR Reporter\n```\non:\n  schedule:\n    - cron: '0 * * * *' # Runs every hour, adjust as necessary\n\njobs:\n  check-open-prs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Report to Slack\n        uses: babbel/stale-pr-reporter@1.0.0\n        with:\n          slack_webhook_url: ${{ secrets.slack_webhook_url }}\n          pr_age_in_hours: 24\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabbel%2Fstale-pr-reporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabbel%2Fstale-pr-reporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabbel%2Fstale-pr-reporter/lists"}