Imagine a SaaS team with three workflows: a preview for pull requests, a build after merge and a production deployment. All three succeed every day. The security question is whether material created during the preview can influence the deployment without passing the team’s release checks. Following that connection produces a more useful review than counting green workflow runs.
Start with these five GitHub Actions security checks
| Check | Evidence to review |
|---|---|
| Token permissions | Inspect workflow and job-level permissions. Give each job only the access it needs. |
| Untrusted inputs | Trace pull request code, titles, downloaded artifacts and scripts into every privileged job. |
| Action revisions | Pin third-party actions to reviewed full commit SHAs and maintain an update process. |
| Cloud access | Check OIDC audience and subject conditions against the intended repository, branch or environment. |
| Release approval | Link the approved destination and artifact to the run that produced it. |
Apply this checklist to one real release before expanding it to every repository. A checked box should point to a workflow revision, configuration setting or controlled test result. GitHub documents these controls in its secure use reference.
For a review, that incident gives you three concrete questions: which action revision actually executed, what secrets were available to that run, and who could read its logs? A workflow finishing successfully does not answer any of them. If a secret was exposed, deleting the log alone does not revoke it; rotate the affected credential and investigate its use.
Platform improvements make a good review prompt
GitHub’s July 28, 2026 security update described safer checkout defaults, tighter controls over workflow triggers and restrictions on cache writes from untrusted triggers. These changes are a concrete reason to revisit existing configurations. They are platform improvements, not evidence that a particular repository is safe. GitHub’s supply-chain hardening update.
Choose a recent release and write down its commit, workflow file, artifact and destination. Ask the engineer who normally releases it to walk through an ordinary deployment and an emergency release. The emergency route belongs on the same page: an undocumented shortcut can become the most important path in the review.
Draw the release backward
For the hypothetical team, start at its production container. Which run built it? Which source revision did that run use? Who could change the build instructions? Where did its other inputs come from? Include reusable workflows and local scripts in the drawing so that a tidy top-level file does not hide the actual work.
| Stage in this example | Review question | Evidence to retain |
|---|---|---|
| Pull-request preview | Can this stage influence anything consumed by release? | Trigger, source revision and output destinations |
| Merged build | What establishes the approved source and build recipe? | Commit plus workflow revision |
| Release packaging | Which inputs become the distributable artifact? | Artifact identity and producing run |
| Production deployment | Who authorizes this exact artifact and destination? | Environment decision and deployment record |
This is a review worksheet, not a universal pipeline design. A team that publishes a library will have a registry instead of a production environment. A team that builds separately from deployment needs an explicit link between those two operations.
A trusted trigger does not make every input trusted
GitHub documents that pull_request_target operates in the base repository’s privileged context. Its current protections restrict common unsafe checkout patterns, but reviewers still need to examine any explicit opt-outs and what subsequently runs. A workflow that labels a pull request has different needs from one that executes submitted code. GitHub pull_request_target guidance.
In the example, give the preview a written purpose: render an isolated demonstration of the proposed change. Then list every deviation from that purpose, such as modifying release metadata or writing to a location read by production. Ask the owner to justify each connection. Review comments, branch names and downloaded files as inputs too; a familiar repository name does not explain how an individual value is used.
Match each credential to one job’s purpose
GitHub recommends restricting GITHUB_TOKEN permissions and pinning third-party actions to full commit SHAs. Pinning controls the selected action revision; it does not establish that the action’s behavior is appropriate. Review both permissions and the referenced code. GitHub secure use reference.
Build a credential list beside the diagram: repository token, registry publishing identity, cloud role and any service-specific secret. Record the job receiving each credential, its permitted operations and the business reason. For the preview job, an unanswered reason for publishing access becomes a concrete configuration question.
For cloud federation, inspect the cloud trust policy as well as the workflow. GitHub’s OIDC documentation explains how audience and subject claims constrain which workflow identities can obtain cloud access. Compare the accepted repository, branch or environment with the release policy your team intended. GitHub OIDC reference.
Make approval refer to the thing being shipped
GitHub environments can apply protection rules before a job runs or obtains environment secrets. Available protections depend on repository visibility and plan, so check the settings that actually apply to this repository. Managing deployment environments.
For the example team, an approval record should identify the destination and the build being approved. Have the reviewer follow the artifact reference from the approval screen to the producing run. If the team cannot explain that relationship, record the uncertainty before treating the approval as a complete control.
Use a disposable repository or a non-publishing test destination for verification. Exercise an ordinary change and a deliberately unapproved test revision, then inspect which gates apply. Keep production credentials and real registry publishing outside that rehearsal.
Trace the authority behind one artifact.
An illustrative release review follows the identities and inputs that can affect a production build.
Select a release
Identify the artifact, destination and producing run.
Trace its inputs
Connect source, scripts, actions and intermediate outputs.
Review authority
Match job credentials and cloud trust to the intended purpose.
Verify the gate
Rehearse approved and unapproved cases without publishing.
The result is a scoped release-path review, with uncertainties and owners recorded.
Leave the next maintainer a usable result
Your handoff should contain the release diagram, the reviewed configuration revision, unanswered ownership questions and one repair owner per issue. Describe the observed path rather than declaring the entire pipeline secure. After a change, repeat the affected route and the legitimate release rehearsal.
If the review begins because a dependency was already compromised, use our compromised-dependency application check for incident scoping. This workflow review answers who and what can reach a release. Our guide to validating and prioritizing findings helps turn the evidence into a repair decision.
Bring the repository and release diagram to a Sectiv demo. We can discuss whether source and workflow review fit the assessment, alongside the web and API testing configured for your business. The subscription includes AI validation and expert configuration and support. Book a demo.
Common questions
Does pinning actions to commit SHAs finish the review?
No. It fixes the selected revision of an external action. You still need to assess that revision, the job’s permissions, its inputs and how its outputs reach a release.
Does using OIDC remove release risk?
It changes how the job obtains cloud access. The cloud trust conditions and the actions permitted to that identity still matter. Check whether the intended release job is the only appropriate path to that role.
Should every repository use the same checklist?
Use common questions, then adapt the evidence to the release destination. A documentation site, a package registry and a production application have different consequences and approval needs.
YOUR NEXT STEP
Review the path to your next release.
Bring one repository and its deployment workflow. We will discuss source review, release boundaries and the testing scope your team needs.
Book a demo
