Skip to content

Commit 701c2f4

Browse files
fix: pin GitHub Actions to SHA for supply chain security (#72)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent ba50273 commit 701c2f4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/phpunit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
XDEBUG_MODE: off
1515

1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
1818

1919
- name: Validate composer.json and composer.lock
2020
run: composer validate
@@ -25,7 +25,7 @@ jobs:
2525
echo "::set-output name=dir::$(composer config cache-files-dir)"
2626
2727
- name: Cache Composer packages
28-
uses: actions/cache@v4
28+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
2929
with:
3030
path: ${{ steps.composer-cache.outputs.dir }}
3131
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}

.github/workflows/psalm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
1515

1616
- name: Get Composer Cache Directory
1717
id: composer-cache
1818
run: |
1919
echo "::set-output name=dir::$(composer config cache-files-dir)"
2020
2121
- name: Cache Composer packages
22-
uses: actions/cache@v4
22+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
2323
with:
2424
path: ${{ steps.composer-cache.outputs.dir }}
2525
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}

0 commit comments

Comments
 (0)