File tree Expand file tree Collapse file tree 8 files changed +84
-0
lines changed Expand file tree Collapse file tree 8 files changed +84
-0
lines changed Original file line number Diff line number Diff line change
1
+ # https://help.github.com/en/categories/automating-your-workflow-with-github-actions
2
+
3
+ name : " Build Issue Bot"
4
+
5
+ on :
6
+ pull_request :
7
+ paths :
8
+ - ' issue-bot/**'
9
+ - ' .github/workflows/build-issue-bot.yml'
10
+ push :
11
+ branches :
12
+ - " 1.9.x"
13
+ paths :
14
+ - ' issue-bot/**'
15
+ - ' .github/workflows/build-issue-bot.yml'
16
+
17
+ concurrency :
18
+ group : issue-bot-${{ github.head_ref || github.run_id }} # will be canceled on subsequent pushes in pull requests but not branches
19
+ cancel-in-progress : true
20
+
21
+ jobs :
22
+ build-issue-bot :
23
+ name : " Build Issue Bot"
24
+
25
+ runs-on : " ubuntu-latest"
26
+ timeout-minutes : 60
27
+
28
+ steps :
29
+ - name : " Checkout"
30
+ uses : actions/checkout@v3
31
+
32
+ - name : " Install PHP"
33
+ uses : " shivammathur/setup-php@v2"
34
+ with :
35
+ coverage : " none"
36
+ php-version : " 8.1"
37
+
38
+ - name : " Install dependencies"
39
+ run : " composer install --no-interaction --no-progress"
40
+
41
+ - name : " Install Issue Bot dependencies"
42
+ working-directory : " issue-bot"
43
+ run : " composer install --no-interaction --no-progress"
44
+
45
+ - name : " PHPStan"
46
+ working-directory : " issue-bot"
47
+ run : " ../bin/phpstan"
Original file line number Diff line number Diff line change
1
+ /vendor
Original file line number Diff line number Diff line change
1
+ {}
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env php
2
+ <?php declare (strict_types = 1 );
Original file line number Diff line number Diff line change
1
+ includes :
2
+ - ../vendor/phpstan/phpstan-deprecation-rules/rules.neon
3
+ - ../vendor/phpstan/phpstan-phpunit/extension.neon
4
+ - ../vendor/phpstan/phpstan-phpunit/rules.neon
5
+ - ../vendor/phpstan/phpstan-strict-rules/rules.neon
6
+ - ../conf/bleedingEdge.neon
7
+
8
+ parameters :
9
+ level : 8
10
+ paths :
11
+ - src
12
+ - console.php
Original file line number Diff line number Diff line change 16
16
<file >apigen/src</file >
17
17
<file >changelog-generator/src</file >
18
18
<file >changelog-generator/run.php</file >
19
+ <file >issue-bot/src</file >
20
+ <file >issue-bot/console.php</file >
19
21
20
22
<rule ref =" build-cs/vendor/consistence-community/coding-standard/Consistence/ruleset.xml" >
21
23
<exclude name =" SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.InvalidFormat" />
99
101
<element key =" tests/e2e" value =" PHPStan\Tests" />
100
102
<element key =" apigen/src" value =" PHPStan\ApiGen" />
101
103
<element key =" changelog-generator/src" value =" PHPStan\ChangelogGenerator" />
104
+ <element key =" issue-bot/src" value =" PHPStan\IssueBot" />
102
105
</property >
103
106
</properties >
104
107
</rule >
You can’t perform that action at this time.
0 commit comments