Skip to content

Commit f94a258

Browse files
committed
Use full commit SHA hash for GitHub Action dependencies
1 parent 4cad50a commit f94a258

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ jobs:
1616
- name: Check out repository code
1717
uses: actions/checkout@v4
1818
- name: Install PHP
19-
uses: shivammathur/setup-php@v2
19+
# uses: shivammathur/setup-php@v2
20+
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1
2021
with:
2122
php-version: '8.1'
2223
coverage: 'none'
@@ -66,7 +67,8 @@ jobs:
6667
- name: Check out repository code
6768
uses: actions/checkout@v4
6869
- name: Install PHP
69-
uses: shivammathur/setup-php@v2
70+
# uses: shivammathur/setup-php@v2
71+
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1
7072
with:
7173
coverage: 'xdebug'
7274
php-version: ${{ matrix.php_version }}
@@ -102,17 +104,20 @@ jobs:
102104
run: php vendor/bin/phpunit --coverage-clover=coverage.xml --coverage-cobertura=cobertura.xml --log-junit=junit.xml
103105
- name: Upload coverage to Codecov
104106
if: ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
105-
uses: codecov/codecov-action@v5
107+
# uses: codecov/codecov-action@v5
108+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7
106109
with:
107110
token: ${{ secrets.CODECOV_TOKEN }}
108111
- name: Upload test results to Codecov
109112
if: ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
110-
uses: codecov/test-results-action@v1
113+
# uses: codecov/test-results-action@v1
114+
uses: codecov/test-results-action@7024b0ed56bb02ec9dd191175a599a93803f0474
111115
with:
112116
token: ${{ secrets.CODECOV_TOKEN }}
113117
- name: Upload coverage to Qlty
114118
if: ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
115-
uses: qltysh/qlty-action/coverage@v1
119+
# uses: qltysh/qlty-action/coverage@v1
120+
uses: qltysh/qlty-action/coverage@a2277a908db90c4c868832fb9204521fb940fdb4
116121
with:
117122
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
118123
files: cobertura.xml
@@ -126,10 +131,12 @@ jobs:
126131
if: always()
127132
runs-on: ubuntu-latest
128133
steps:
129-
- uses: technote-space/workflow-conclusion-action@v3
134+
# - uses: technote-space/workflow-conclusion-action@v3
135+
- uses: technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5
130136
- name: Post to a Slack channel
131137
id: slack
132-
uses: slackapi/slack-github-action@v1.23.0
138+
# uses: slackapi/slack-github-action@v1.23.0
139+
uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844
133140
with:
134141
# Slack channel id, channel name, or user id to post a message.
135142
# See also: https://api.slack.com/methods/chat.postMessage#channels

0 commit comments

Comments
 (0)