Skip to content

chore: update action pinning hash commit in github workflows#1335

Merged
samsonasik merged 8 commits into
codeigniter4:developfrom
ddevsr:pinning-commit-hash
Jun 4, 2026
Merged

chore: update action pinning hash commit in github workflows#1335
samsonasik merged 8 commits into
codeigniter4:developfrom
ddevsr:pinning-commit-hash

Conversation

@ddevsr

@ddevsr ddevsr commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Description
This PR pins GitHub Actions from mutable version tags (e.g. action/checkout@v5) to full commit SHAs, preventing silent supply chain attacks from compromised action repositories.

Recommended by GitHub's security hardening guide

Checklist:

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

Comment thread .github/workflows/docs.yml Outdated
@ddevsr ddevsr requested a review from paulbalandan June 4, 2026 07:34
@samsonasik samsonasik merged commit 06afc2e into codeigniter4:develop Jun 4, 2026
3 checks passed
@samsonasik

Copy link
Copy Markdown
Member

Thank you @ddevsr

@ddevsr ddevsr deleted the pinning-commit-hash branch June 4, 2026 10:41
@datamweb datamweb added the github_actions Pull requests that update GitHub Actions code label Jun 4, 2026
datamweb added a commit to datamweb/shield that referenced this pull request Jul 7, 2026
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.

4 participants