Skip to content

Commit a1e0e9b

Browse files
committed
GH Actions: pin re-usable workflows too
Follow up on 1273, which added commit hash pinning to all externally managed action runners, this commit now also adds this to the re-usable workflows managed in the `PHPCSStandards/.github` repository.
1 parent 67dec55 commit a1e0e9b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ concurrency:
2020
jobs:
2121
phpstan:
2222
name: "PHPStan"
23-
uses: PHPCSStandards/.github/.github/workflows/reusable-phpstan.yml@main
23+
uses: PHPCSStandards/.github/.github/workflows/reusable-phpstan.yml@a06ac9fa50dcd1d98cc581e9a4e331363a69ea09 # v1.1.0

.github/workflows/validate-cron.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
# Don't run the cronjob in this workflow on forks.
1818
if: ${{ github.event.repository.fork == false }}
1919

20-
uses: PHPCSStandards/.github/.github/workflows/reusable-markdownlint.yml@main
20+
uses: PHPCSStandards/.github/.github/workflows/reusable-markdownlint.yml@a06ac9fa50dcd1d98cc581e9a4e331363a69ea09 # v1.1.0
2121

2222
remark:
2323
name: 'QA Markdown'
2424
# Don't run the cronjob in this workflow on forks.
2525
if: ${{ github.event.repository.fork == false }}
2626

27-
uses: PHPCSStandards/.github/.github/workflows/reusable-remark.yml@main
27+
uses: PHPCSStandards/.github/.github/workflows/reusable-remark.yml@a06ac9fa50dcd1d98cc581e9a4e331363a69ea09 # v1.1.0

.github/workflows/validate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,17 +118,17 @@ jobs:
118118
119119
yamllint:
120120
name: 'Lint Yaml'
121-
uses: PHPCSStandards/.github/.github/workflows/reusable-yamllint.yml@main
121+
uses: PHPCSStandards/.github/.github/workflows/reusable-yamllint.yml@a06ac9fa50dcd1d98cc581e9a4e331363a69ea09 # v1.1.0
122122
with:
123123
strict: true
124124

125125
markdownlint:
126126
name: 'Lint Markdown'
127-
uses: PHPCSStandards/.github/.github/workflows/reusable-markdownlint.yml@main
127+
uses: PHPCSStandards/.github/.github/workflows/reusable-markdownlint.yml@a06ac9fa50dcd1d98cc581e9a4e331363a69ea09 # v1.1.0
128128

129129
remark:
130130
name: 'QA Markdown'
131-
uses: PHPCSStandards/.github/.github/workflows/reusable-remark.yml@main
131+
uses: PHPCSStandards/.github/.github/workflows/reusable-remark.yml@a06ac9fa50dcd1d98cc581e9a4e331363a69ea09 # v1.1.0
132132

133133
shellcheck:
134134
name: 'ShellCheck'

0 commit comments

Comments
 (0)