Skip to content

Commit d1ac147

Browse files
authored
Merge pull request #56 from PHPCompatibility/feature/ghactions-pin-action-runners
GH Actions: "pin" all action runners
2 parents 100b984 + 55c5279 commit d1ac147

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,11 @@ updates:
1414
prefix: "GH Actions:"
1515
labels:
1616
- "chores/QA"
17+
cooldown:
18+
semver-major-days: 10
19+
groups:
20+
action-runners:
21+
applies-to: version-updates
22+
update-types:
23+
- "minor"
24+
- "patch"

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525

2626
steps:
2727
- name: Checkout code
28-
uses: actions/checkout@v5
28+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2929

3030
- name: Install PHP
31-
uses: shivammathur/setup-php@v2
31+
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # 2.35.5
3232
with:
3333
php-version: 'latest'
3434
coverage: none
@@ -38,7 +38,7 @@ jobs:
3838
run: composer install --no-dev --no-interaction --no-progress
3939

4040
- name: Validate Ruleset XML file against schema
41-
uses: phpcsstandards/xmllint-validate@v1
41+
uses: phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
4242
with:
4343
pattern: "./*/ruleset.xml"
4444
xsd-file: "vendor/squizlabs/php_codesniffer/phpcs.xsd"
@@ -89,10 +89,10 @@ jobs:
8989

9090
steps:
9191
- name: Checkout code
92-
uses: actions/checkout@v5
92+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
9393

9494
- name: Install PHP
95-
uses: shivammathur/setup-php@v2
95+
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # 2.35.5
9696
with:
9797
php-version: ${{ matrix.php }}
9898
ini-values: error_reporting=E_ALL, display_errors=On, display_startup_errors=On

0 commit comments

Comments
 (0)