Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/claude-code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 10

- name: Run Claude Code Review
id: claude-review
uses: anthropics/claude-code-action@beta
uses: anthropics/claude-code-action@28f83620103c48a57093dcc2837eec89e036bb9f # beta @ 2026-04-30
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/claude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
actions: read # Required for Claude to read CI results on PRs
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 10

- name: Run Claude Code
id: claude
uses: anthropics/claude-code-action@beta
uses: anthropics/claude-code-action@28f83620103c48a57093dcc2837eec89e036bb9f # beta @ 2026-04-30
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}

Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
name: 'Coding style'
steps:
- name: 'Checkout'
uses: 'actions/checkout@v4'
uses: 'actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5' # v4.3.1

- name: 'Setup PHP'
uses: 'shivammathur/setup-php@v2'
uses: 'shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f' # 2.37.0
with:
php-version: '8.1'
coverage: 'none'
Expand All @@ -29,16 +29,16 @@ jobs:
name: 'Coding standards'
steps:
- name: 'Checkout'
uses: 'actions/checkout@v4'
uses: 'actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5' # v4.3.1

- name: 'Setup PHP'
uses: 'shivammathur/setup-php@v2'
uses: 'shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f' # 2.37.0
with:
php-version: '8.1'
tools: composer

- name: 'Install dependencies with Composer'
uses: 'ramsey/composer-install@v3'
uses: 'ramsey/composer-install@a8d0d959dab41457692a5e2041bd9b757a119e3f' # 3.2.1
with:
composer-options: '--prefer-dist'

Expand All @@ -64,18 +64,18 @@ jobs:
fail-fast: false
steps:
- name: 'Checkout'
uses: 'actions/checkout@v4'
uses: 'actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5' # v4.3.1

- name: 'Setup PHP'
uses: 'shivammathur/setup-php@v2'
uses: 'shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f' # 2.37.0
with:
php-version: '${{ matrix.php }}'
coverage: 'pcov'
tools: 'pecl, composer:v2'
extensions: 'curl, json, mbstring, openssl'

- name: 'Install dependencies with Composer'
uses: 'ramsey/composer-install@v3'
uses: 'ramsey/composer-install@a8d0d959dab41457692a5e2041bd9b757a119e3f' # 3.2.1
with:
dependency-versions: '${{ matrix.dependencies }}'
composer-options: '--prefer-dist'
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
vendor/bin/phpunit --group functional --coverage-clover=build/coverage/functional-coverage.xml

- name: 'Upload coverage to Codecov'
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0
with:
files: build/coverage/unit-coverage.xml,build/coverage/functional-coverage.xml

Expand All @@ -119,18 +119,18 @@ jobs:
timeout-minutes: 10
steps:
- name: 'Checkout'
uses: 'actions/checkout@v4'
uses: 'actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5' # v4.3.1

- name: 'Setup PHP'
uses: 'shivammathur/setup-php@v2'
uses: 'shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f' # 2.37.0
with:
php-version: '8.1'
coverage: 'none'
tools: 'composer:v2'
extensions: 'curl, json, mbstring, openssl'

- name: 'Install dependencies with Composer'
uses: 'ramsey/composer-install@v3'
uses: 'ramsey/composer-install@a8d0d959dab41457692a5e2041bd9b757a119e3f' # 3.2.1
with:
composer-options: '--prefer-dist'

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
### Fixed
### Security
* Pinned every third-party GitHub Action (`actions/checkout`, `shivammathur/setup-php`, `ramsey/composer-install`, `codecov/codecov-action`, `anthropics/claude-code-action`) to a full commit SHA with a trailing version comment. Floating tags can be silently rewritten by the action publisher; pinning to a SHA prevents supply-chain hijacks (cf. the March 2025 `tj-actions/changed-files` incident).


## [9.0.0](https://github.com/ruflin/Elastica/compare/8.x...9.0.0)
Expand Down
Loading