Skip to content

chore: enforce security hardening for GitHub Actions workflows#10038

Merged
paulbalandan merged 5 commits intocodeigniter4:developfrom
paulbalandan:security-hardening
Mar 15, 2026
Merged

chore: enforce security hardening for GitHub Actions workflows#10038
paulbalandan merged 5 commits intocodeigniter4:developfrom
paulbalandan:security-hardening

Conversation

@paulbalandan
Copy link
Member

Description
Ref: https://docs.github.com/en/actions/reference/security/secure-use

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@paulbalandan paulbalandan added the github_actions Pull requests that update Github_actions code label Mar 14, 2026
Copy link
Member

@michalsn michalsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question - can Dependabot update GitHub Actions that are pinned to a full commit SHA?

I noticed that test-phpcpd.yml does not use a pinned version. Is there a specific reason for this, or is it just a missing update?

@paulbalandan
Copy link
Member Author

Question - can Dependabot update GitHub Actions that are pinned to a full commit SHA?

Yes. It actually can update the pinned SHA. It has done this to my other repo.

I noticed that test-phpcpd.yml does not use a pinned version. Is there a specific reason for this, or is it just a missing update?

It uses the reusable workflow from codeigniter/.github repo instead of an action. I can update that.

@michalsn
Copy link
Member

It uses the reusable workflow from codeigniter/.github repo instead of an action. I can update that.

I'm getting blind - I haven't noticed that it links to the repo...

@paulbalandan paulbalandan merged commit c1cfd45 into codeigniter4:develop Mar 15, 2026
56 checks passed
@paulbalandan paulbalandan deleted the security-hardening branch March 15, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update Github_actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants