Skip to content

Commit 6d13e7d

Browse files
committed
Harden GitHub workflows
1 parent a3c5b97 commit 6d13e7d

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ on:
2626

2727
jobs:
2828
codeception:
29-
uses: yiisoft/yii2-actions/.github/workflows/codeception.yml@master
29+
uses: yiisoft/yii2-actions/.github/workflows/codeception.yml@161a59a5e7d9c5b650c4a132f6e9292bacfcb5cc
3030
secrets:
3131
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3232
with:

.github/workflows/docker.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ jobs:
3030

3131
steps:
3232
- name: Checkout.
33-
uses: actions/checkout@v6
33+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
34+
with:
35+
persist-credentials: false
3436

3537
- name: Build and start containers.
3638
run: docker compose up -d --build --wait

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ on:
2626

2727
jobs:
2828
phpcs:
29-
uses: yiisoft/yii2-actions/.github/workflows/linter.yml@master
29+
uses: yiisoft/yii2-actions/.github/workflows/linter.yml@161a59a5e7d9c5b650c4a132f6e9292bacfcb5cc

.github/workflows/static.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ on:
2626

2727
jobs:
2828
phpstan:
29-
uses: yiisoft/yii2-actions/.github/workflows/phpstan.yml@master
29+
uses: yiisoft/yii2-actions/.github/workflows/phpstan.yml@161a59a5e7d9c5b650c4a132f6e9292bacfcb5cc
3030
with:
3131
hook: vendor/bin/codecept build

0 commit comments

Comments
 (0)