Skip to content

Commit a738083

Browse files
ci: readd execution limitations
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
1 parent dcbade2 commit a738083

File tree

2 files changed

+41
-2
lines changed

2 files changed

+41
-2
lines changed

.github/workflows/lint-php-cs.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,26 @@
88

99
name: Lint php-cs
1010

11-
on: pull_request
11+
on:
12+
push:
13+
branches: [ main, test ]
14+
paths:
15+
- 'lib/**'
16+
- 'templates/**'
17+
- 'tests/**'
18+
- 'vendor/**'
19+
- 'vendor-bin/**'
20+
- composer.lock
21+
- composer.json
22+
pull_request:
23+
paths:
24+
- 'lib/**'
25+
- 'templates/**'
26+
- 'tests/**'
27+
- 'vendor/**'
28+
- 'vendor-bin/**'
29+
- composer.lock
30+
- composer.json
1231

1332
permissions:
1433
contents: read

.github/workflows/psalm.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,27 @@
88

99
name: Static analysis
1010

11-
on: pull_request
11+
on:
12+
pull_request:
13+
paths:
14+
- .github/workflows/psalm.yml
15+
- appinfo/**
16+
- composer.*
17+
- lib/**
18+
- templates/**
19+
- tests/**
20+
push:
21+
branches:
22+
- main
23+
- stable*
24+
- test
25+
paths:
26+
- .github/workflows/psalm.yml
27+
- appinfo/**
28+
- composer.*
29+
- lib/**
30+
- templates/**
31+
- tests/**
1232

1333
concurrency:
1434
group: psalm-${{ github.head_ref || github.run_id }}

0 commit comments

Comments
 (0)