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 1616 php-version : ' 8.0'
1717
1818 - name : Checkout
19- uses : actions/checkout@v2
19+ uses : actions/checkout@v3
2020
2121 - name : Generate
2222 run : make
@@ -25,10 +25,11 @@ jobs:
2525 id : changes
2626 run : |
2727 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
2930
3031 - name : Create Pull Request
31- uses : peter-evans/create-pull-request@v3
32+ uses : peter-evans/create-pull-request@v4
3233 with :
3334 commit-message : Update Error Code
3435 delete-branch : true
3738 Error codes have been updated.
3839
3940 - 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 2727 php-version : ${{ matrix.php-version }}
2828
2929 - name : Checkout
30- uses : actions/checkout@v2
30+ uses : actions/checkout@v3
3131
3232 - name : Install dependencies
3333 run : composer install --quiet --no-ansi --prefer-dist --no-progress --no-interaction
3636 run : vendor/bin/phpunit --coverage-clover=coverage.xml
3737
3838 - name : Upload coverage to Codecov
39- uses : codecov/codecov-action@v2
39+ uses : codecov/codecov-action@v3
4040 with :
4141 token : ${{ secrets.CODECOV_TOKEN }}
4242 files : ./coverage.xml
You can’t perform that action at this time.
0 commit comments