Skip to content

ci: replace unverified third-party GitHub Actions with first-party steps #674

Closed

Description

@ffumero2003

Context

As part of the organization-wide GitHub Actions governance effort — every action used in CI must be authorized, and actions owned by individual developers or unverified vendors should be removed in favor of GitHub-official / verified-vendor actions or first-party steps — this repository's workflows depend on several such actions:

  • softprops/action-gh-release (individual maintainer, cd.yml) — GitHub release creation and asset upload
  • mindsers/changelog-reader-action (individual maintainer, cd.yml) — CHANGELOG section extraction
  • codespell-project/actions-codespell (community org, ci.yml) — spell check

These run with repository permissions in CI/CD, so each should be replaced by a first-party step we control. All GitHub-official / verified-vendor action steps (e.g. pypa/gh-action-pypi-publish, astral-sh/setup-uv, actions/*) are left unchanged.

Acceptance criteria

  • softprops/action-gh-release → gh release create/upload, preserving tag, title, notes, and assets.
  • mindsers/changelog-reader-action → a local extraction step producing byte-for-byte identical output.
  • codespell-project/actions-codespell → an inline pipx run codespell that reproduces the original action's exact invocation and result.
  • actionlint passes; no unrelated steps changed.

Scope

In scope: .github/workflows/ci.yml, .github/workflows/cd.yml, and the changelog fragment. Out of scope: the PyPI publish step, release cadence, and library code.

Notes

The changelog extraction was verified byte-for-byte across multiple versions, and the release command routing was verified. The codespell step reproduces the original action exactly (the original passed a space-separated ignore list, which codespell interprets as an ignore word plus a positional path, so master's codespell effectively scanned nothing and was green). The replacement matches that result; fixing the codespell invocation and the repository's real typos is tracked as a separate spelling-only change, out of scope here. The live GitHub release publish only runs at a tagged release; the original action blocks are retained commented-out as a fallback until verified by a real run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency file

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions