SecureCI vs GitHub’s built-in Actions security: from guardrails to a golden path

Last updated: 1 December 2026

GitHub’s policies decide which actions may run. The SecureCI CLI checks that each workflow does what your organisation requires. That means the right steps, in the right order, at the right versions. It also means the code you reviewed. And developers get the same answer locally, before they push.

Short answer:

  • Golden path, enforced: required actions, their order across jobs and minimum versions. GitHub’s policies can’t express these.
  • Moved tags: secureci inventory --check fails the pull request when a tag you allow starts pointing at different code. It verifies GitHub’s workflow lockfile (actions.lock) where you use one, and secureci.lock on GitHub Enterprise Server and for local ./ actions.
  • Shift left: the same checks run on a laptop, and secureci run executes the workflow before it reaches GitHub.
  • Works with what you have: SecureCI runs as a required check next to GitHub’s policies, Dependabot and CodeQL, on GitHub.com and GitHub Enterprise Server.

At a glance

GitHub built-inSecureCI CLI
Require specific actions inside a workflow, in orderNoYes needs-aware ordering across jobs
Minimum versions of internal actionsNoYes min-version
Catch an allowed tag that moves, before mergePartial workflow lockfiles (actions.lock) run the locked commit, generally available since October 2026, not available on GitHub Enterprise ServerYes inventory: check fails the pull request, on GitHub.com and GitHub Enterprise Server, against secureci.lock or your actions.lock, and fails when the two disagree
Lock the actions your actions use (transitive)Yes actions.lockYes secureci.lock records them and inventory: check fails the pull request when one moves (since v0.5.0)
Checks mapped to compliance controls (PCI DSS, DORA, ISO 27001…)Partial an NIST SSDF implementation guide; GitHub’s PCI DSS attestation covers GitHub itself, not your workflowsYes published control mapping; supports controls
Check before you pushNoYes the same checks run locally
Run workflows locallyNoYes secureci run
Only allow approved actions and ownersYes allowed-actions policy, on every plan since February 2026Yes allowed-owners, also checked locally
Block a specific action or versionYesYes forbidden with an optional exact version
Require SHA pinningYesYes with per-owner exceptions
Required check before mergeYes rulesetsYes runs as that required check
Same rules on GitHub Enterprise ServerPartial depends on version and licenceYes point GITHUB_SERVER_URL at your host
Injection and permission analysisYes CodeQL; since June 2026 actions/checkout refuses fork checkouts in pull_request_target by defaultYes template injection, token permissions and dangerous triggers, before you push (since v0.6.0); since v0.7.0 it also says whether actions/checkout's safe default covers each checkout, or the workflow opted out with allow-unsafe-pr-checkout

Guardrails vs a golden path

GitHub’s allowed-actions policy, now with blocking and SHA-pinning enforcement, decides which actions may run. What it can’t say is “every deploy must run org/security-scan v1.2+ before org/deploy”. That’s a pipeline contract:

secureci validate .github/workflows/deploy.yml --contract contracts/platform-standard.yml

Contracts are checked through composite actions and reusable workflows. So a required step can’t hide behind a wrapper.

Keep one contract in a central repository, and every team checks against it. --contract my-org/standards/contracts/platform.yml@<sha> fetches it like a remote reusable workflow. It also records the commit it enforced (details).

Trusting tags safely

Many teams allow tags from trusted owners such as actions/*. GitHub’s workflow lockfiles (generally available since October 2026) record the commit behind every action a workflow uses, and SecureCI works with them. When actions.lock is your lockfile, secureci inventory --check and the action’s inventory: check verify against it, so the same check runs on a laptop and in pull requests (since v0.3.0). You don’t need a second lockfile. If you keep both, secureci inventory --check fails when secureci.lock and actions.lock pin an action at different commits, so the commit CI checks is the commit the runner runs (since v1.5.0).

On GitHub Enterprise Server, and for local ./ actions, secureci inventory --check records each tag’s commit in secureci.lock and fails the pull request when one moves.

Shift left, to the developer’s laptop

GitHub’s checks run after you push. SecureCI gives developers the same answer locally. And secureci run runs the workflow in a container. So you test CI changes before they cost a pipeline run.

Start by auditing GitHub Actions across the organisation with secureci org scan, so you know which repositories need each step.

  1. Add SecureCI as a required check (secureci init workflow) with your pipeline contract.
  2. Turn on inventory: check. If you use GitHub’s workflow lockfiles (gh actions-lock), it verifies against actions.lock; otherwise commit secureci.lock.
  3. Require SHA pinning in the contract (pins.required: true) and run secureci pin to pin your existing actions.
  4. List the owners you trust in allowed-owners, so developers get the same answer locally that the pull request check gives.

Try the SecureCI CLI

Free and open source (MIT). Needs Node.js 20+ and, to run workflows, Docker, Podman or containerd.

npm install -g @secureci/cli
secureci validate .github/workflows/ci.yml
secureci run .github/workflows/ci.yml --dry-run

Running GitHub Actions across many repositories? Get early access to the GitHub App → or get a free assessment.

FAQ

Do I still need SecureCI if I use GitHub’s allowed-actions policy, Dependabot and CodeQL?

Yes, if you have standards beyond “which actions may run”. SecureCI enforces required actions, their order and minimum versions. It runs the same checks locally before developers push. For moved tags, its lockfile check fails the pull request, against GitHub’s actions.lock or secureci.lock, on GitHub.com and GitHub Enterprise Server.

Does GitHub enforce SHA pinning for actions?

Yes. Since August 2025 the allowed-actions policy can require full commit SHAs. SecureCI enforces the same rule in a contract, with per-owner exceptions, and checks it locally and on pull requests.

Can GitHub require that a workflow runs specific steps in order?

Rulesets can require a workflow to pass, but not what happens inside it. SecureCI contracts require specific actions, in order, at minimum versions, checked through composite actions and reusable workflows.

Does SecureCI work with GitHub Enterprise Server?

Yes. Point GITHUB_SERVER_URL and GITHUB_API_URL at your GHES host; the CLI runs inside your own infrastructure.

Does GitHub’s PCI DSS attestation cover my workflows?

No. It covers GitHub as a service provider, with a shared responsibility matrix. Controls over what your workflows run stay with you. SecureCI supports some of them, such as a PCI DSS 6.3.2 inventory of third-party actions and change control for workflows. See the compliance mapping.

Does SecureCI work with GitHub’s workflow lockfiles?

Yes. When actions.lock is your lockfile, secureci inventory --check and the action’s inventory: check verify against it, locally and on pull requests. On GitHub Enterprise Server and for local ./ actions, secureci.lock records each tag’s commit and fails the pull request when one moves. SecureCI also enforces pipeline contracts: required actions, their order and minimum versions.

Sources

Competitor features change quickly. We checked these on 24 October 2026; if something here is out of date, email hello@secure-ci.dev and we'll fix it.