Skip to content

Commit 9f3758c

Browse files
committed
Correctly define github action
1 parent 7f88ff5 commit 9f3758c

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

.github/workflows/php.yml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1-
code-standards:
2-
runs-on: ubuntu-latest
3-
steps:
4-
- name: Checkout code
5-
uses: actions/checkout@v2
6-
with:
7-
fetch-depth: 0
8-
- name: Code Standards Test
9-
uses: docker://aligent/code-standards-pipe-php:7.4
10-
env:
11-
STANDARDS: "Magento2"
12-
SKIP_DEPENDENCIES: "true"
1+
name: Run PHP Static Analysis
2+
3+
on: pull_request
4+
5+
jobs:
6+
code-standards:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout code
10+
uses: actions/checkout@v2
11+
with:
12+
fetch-depth: 0
13+
- name: Code Standards Test
14+
uses: docker://aligent/code-standards-pipe-php:7.4
15+
env:
16+
STANDARDS: "Magento2"
17+
SKIP_DEPENDENCIES: "true"

0 commit comments

Comments
 (0)