Skip to content

Commit 3064b52

Browse files
Pin GitHub Actions to commit SHAs (#214)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4700bfb commit 3064b52

4 files changed

Lines changed: 18 additions & 8 deletions

File tree

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
groups:
8+
github-actions:
9+
patterns:
10+
- "*"

.github/workflows/pint-fix.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ jobs:
1515

1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1919
with:
2020
ref: ${{ github.head_ref }}
2121
token: ${{ secrets.PINT }}
2222

2323
- name: Fix PHP code style issues
24-
uses: aglipanci/laravel-pint-action@1.0.0
24+
uses: aglipanci/laravel-pint-action@643466ad03b726047b3c78b531be5ec7835429ff # 1.0.0
2525

2626
- name: Commit changes
27-
uses: stefanzweifel/git-auto-commit-action@v4
27+
uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a # v4
2828
with:
2929
commit_message: Fix styling

.github/workflows/pint-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111

1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1515

1616
- name: Check PHP code style issues
17-
uses: aglipanci/laravel-pint-action@1.0.0
17+
uses: aglipanci/laravel-pint-action@643466ad03b726047b3c78b531be5ec7835429ff # 1.0.0
1818
with:
1919
testMode: true
2020
verboseMode: true

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626

2727
steps:
2828
- name: Checkout code
29-
uses: actions/checkout@v1
29+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
3030

3131
- name: Setup PHP
32-
uses: shivammathur/setup-php@v2
32+
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # v2
3333
with:
3434
php-version: ${{ matrix.php }}
3535
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
@@ -44,7 +44,7 @@ jobs:
4444
run: vendor/bin/phpunit
4545

4646
- name: Send Slack notification
47-
uses: 8398a7/action-slack@v2
47+
uses: 8398a7/action-slack@db35ed13d63ce3d2ab6acb86604a1daeaa038628 # v2.4.0
4848
if: failure() && github.event_name == 'schedule'
4949
with:
5050
status: ${{ job.status }}

0 commit comments

Comments
 (0)