File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 16
16
php-version : ' 8.0'
17
17
18
18
- name : Checkout
19
- uses : actions/checkout@v2
19
+ uses : actions/checkout@v3
20
20
21
21
- name : Generate
22
22
run : make
@@ -25,10 +25,11 @@ jobs:
25
25
id : changes
26
26
run : |
27
27
git add -N .
28
- echo "::set-output name=count::$(git diff --name-only | wc -l)"
28
+ git diff --name-only --exit-code
29
+ continue-on-error : true
29
30
30
31
- name : Create Pull Request
31
- uses : peter-evans/create-pull-request@v3
32
+ uses : peter-evans/create-pull-request@v4
32
33
with :
33
34
commit-message : Update Error Code
34
35
delete-branch : true
37
38
Error codes have been updated.
38
39
39
40
- https://github.com/postgres/postgres/blob/master/src/backend/utils/errcodes.txt
40
- if : ${{ steps.changes.outputs.count > 0 }}
41
+ if : steps.changes.outcome == 'failure'
Original file line number Diff line number Diff line change 27
27
php-version : ${{ matrix.php-version }}
28
28
29
29
- name : Checkout
30
- uses : actions/checkout@v2
30
+ uses : actions/checkout@v3
31
31
32
32
- name : Install dependencies
33
33
run : composer install --quiet --no-ansi --prefer-dist --no-progress --no-interaction
36
36
run : vendor/bin/phpunit --coverage-clover=coverage.xml
37
37
38
38
- name : Upload coverage to Codecov
39
- uses : codecov/codecov-action@v2
39
+ uses : codecov/codecov-action@v3
40
40
with :
41
41
token : ${{ secrets.CODECOV_TOKEN }}
42
42
files : ./coverage.xml
You can’t perform that action at this time.
0 commit comments