Skip to content

feat(ci): self-audit with nerdalytics/check-action-versions@v1.0.3#9

Merged
nerdalytics merged 1 commit into
trunkfrom
feat/self-audit-workflow
Apr 23, 2026
Merged

feat(ci): self-audit with nerdalytics/check-action-versions@v1.0.3#9
nerdalytics merged 1 commit into
trunkfrom
feat/self-audit-workflow

Conversation

@nerdalytics
Copy link
Copy Markdown
Owner

Adds a scheduled workflow that runs this action on this repo. Every Monday 09:00 UTC, the action scans .github/workflows/*.yml (including itself), resolves each uses: reference against its upstream's latest strict-semver release, and opens an auto-update PR when anything is outdated.

Why

The action's whole purpose is maintaining SHA-pinned action references in other repos. Dogfooding it here closes the loop and lets the action's normal auto-update path keep this repo current.

Change set

  • Add .github/workflows/check-action-versions.yml pinning nerdalytics/check-action-versions@11a5116015b39e4ef354d6eaa5c8757a338100de # v1.0.3 (self-reference)
  • Delete .github/dependabot.yml — its github-actions ecosystem watcher is now redundant. Running both Dependabot and this action would produce duplicate PRs on different branches for the same updates.

No changes to ci.yml, scripts, or tests.

Requires

Three secrets configured at the repo or organization level before the first scheduled run:

  • ACTION_UPDATER_PAT — PAT with repo and workflow scope. Used both to authenticate the initial actions/checkout (so the automated PR gets push access) and to open the tracking issue and PR. A PAT is required instead of GITHUB_TOKEN because PRs opened by GITHUB_TOKEN don't trigger downstream workflows.
  • SSH_SIGNING_KEY — SSH private key for the nerdalytics bot signing identity. Full content of an ed25519 private key. The public half must be registered on the bot's GitHub account as a Signing Key (not Authentication Key) for GitHub's Verified badge to resolve.
  • SSH_SIGNING_KEY_PASSPHRASE — passphrase on the signing key, or unset if unencrypted.

If any are missing when the first run fires, the action fails fast with a clear error message pointing at the missing secret.

On merge

No immediate run. The first scheduled firing is Monday 09:00 UTC. For an immediate check, trigger manually via workflow_dispatch once the secrets are set.

Adds a scheduled workflow that runs this same action on this repo.
From now on, action-version bumps in .github/workflows/ci.yml (and in
the new self-audit workflow itself) are opened by the action as
auto-update PRs rather than handled by Dependabot.

Deletes .github/dependabot.yml for the same reason: its github-actions
ecosystem watcher is now redundant with the self-audit workflow, and
running both would produce duplicate PRs on different branches.

Requires the repo to have these secrets configured before the first
scheduled run:
- ACTION_UPDATER_PAT: PAT with repo + workflow scope (for checkout
  with push access, and for gh issue/pr create)
- SSH_SIGNING_KEY: SSH private key for the nerdalytics bot signing
  identity
- SSH_SIGNING_KEY_PASSPHRASE: passphrase on the signing key
@nerdalytics nerdalytics merged commit 49e5d22 into trunk Apr 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant