Skip to content

Daniel Ridge bot stopped running - re-enable its disabled workflow and prevent it recurring #180

Closed

Description

@ale210

Overview

We need to restore @danielridgebot's GitHub Pages dependency checks and correct its wiki page, because GitHub disabled the bot's scheduled workflow for repository inactivity on 2026-01-07 and nothing has been checking the Ruby or github-pages gem versions since.

Action Items

The bot's code lives in danielridgebot/check-ghpages-versions, a repo under a personal account rather than the hackforla org. You need write access there.

  • Re-enable Check Github Pages Gem Version and Open New Issue on Change in that repo's Actions tab (it shows as disabled with a re-enable banner). GitHub disables scheduled workflows after 60 days of no repo commits; the last commit was 2025-10-31 and the last run 2026-01-07.
  • Confirm check-ruby-version.yml starts running again. It reports as active but its only automatic trigger is workflow_run on the workflow above, so it has been dead too — the Actions UI does not show this.
  • Add a keepalive so this cannot silently recur. The wiki claims one was already added, but it has never existed in either workflow file. Either add gautamkrishnar/keepalive-workflow, or give check-ruby-version.yml its own schedule: so it no longer depends on the other workflow firing.
  • In both workflows, change gh issue create --repo "github.com/hackforla/ops" to hackforla/devops. The redirect works, so this is cleanup, not a fix.
  • Verify secrets.DR_PAT has not expired. It was last confirmed working 2025-05-07 (GHPAGES-DOCKER Build Was Successful #154). If it is a fine-grained PAT it has a max 1-year lifetime and is likely dead; issue creation would fail silently on the next real version bump.
  • Test end to end rather than waiting for GitHub Pages to bump. Temporarily set release-versions/github-pages-gem.txt to an older value and run the workflow via workflow_dispatch, confirm an issue lands on hackforla/devops with its labels, milestone and board card, then restore the file. Commits 0ce0791f / 18f58201 in that repo are a previous run of exactly this test.
  • Update the wiki page @danielridgebot-DevOps-Wiki — remove the false keepalive claim under "Solution", and replace the "What's next" bullet "figure out why it stopped creating new issues (last opened issue was Oct 6, 2022)", which is wrong: it opened issues in Aug 2024 (GHPAGES-DOCKER needs to be updated - GitHub pages gem #141, GHPAGES-DOCKER needs to be updated - ruby gem #142, GHPAGES-DOCKER needs to be updated - GitHub Pages Ruby Gem #143, GHPAGES-DOCKER needs to be updated - Ruby #144) and May 2025 (GHPAGES-DOCKER Build Was Successful #154).
  • After the wiki edit, load the live page and confirm both of those claims are gone.

Resources/Instructions

Activity

  1. self-assigned this
    on Aug 24, 2026
  2. moved this from New Issue Review to Prioritized Backlog in CoP: DevOps: Project Boardon Aug 24, 2026
  3. moved this from Prioritized Backlog to In progress (actively working) in CoP: DevOps: Project Boardon Aug 24, 2026
  4. ale210 commented on Aug 24, 2026

    @ale210
    MemberAuthor

    Done. All action items are complete; notes on two things that differed from the ticket as written.

    The bot repo is already in the org. The Overview says it "lives in danielridgebot/check-ghpages-versions, a repo under a personal account rather than the hackforla org." That URL redirects — it is hackforla/check-ghpages-versions (same repo, created 2022-06-23). No transfer or extra access was needed. Leaving the body text as-is for the record.

    The suggested keepalive action no longer exists. GitHub has blocked gautamkrishnar/keepalive-workflow for a ToS violation since 2025-04-21, so uses: can no longer resolve it. Replaced with a hand-rolled keepalive.yml: weekly schedule, empty commit only once the repo has been idle more than 50 days. It is a separate workflow rather than a step inside check-gh-pages-version.yml on purpose — a keepalive living inside that workflow dies with it, which is the exact failure being fixed here.

    What was delivered, in hackforla/check-ghpages-versions#26 plus settings changes:

    • check-ruby-version.yml now has its own daily schedule (12:15 UTC) instead of the workflow_run trigger.
    • Check Github Pages Gem Version and Open New Issue on Change re-enabled; all four workflows now active.
    • Both workflows create issues against hackforla/devops.
    • test-issue-labels.yml was also broken and is fixed — it authenticated with secrets.Daniel_Ridge_PAT, which does not exist in the repo. Found in passing, outside this issue's scope.

    secrets.DR_PAT is alive. The end-to-end test created #181 on this repo with all five labels, the correct milestone and a board card, then self-restored github-pages-gem.txt to 232 via its own commit. #181 is closed and its card removed. The ruby workflow was separately dispatched and correctly ran, found no change, and created nothing — confirming it no longer depends on the other workflow.

    The wiki page is corrected and verified live: the false keepalive claim is replaced with an accurate description of the new workflow and the 60-day rule that caused the outage, the ruby trigger description is updated, and the stale danielridgebot/ links are re-pointed.

    Worth a follow-up ticket: DR_PAT is a personal token with a rotation cliff. Now that the repo is in the org it can read HFLA_WORKFLOW_APP_ID / HFLA_WORKFLOW_APP_PRIVATE_KEY, so moving the workflows onto the GitHub App would retire that class of failure rather than resetting the clock.

  5. moved this from In progress (actively working) to Done in CoP: DevOps: Project Boardon Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions