mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 12:32:38 +01:00
ci: don't fail lint on first push to new branch
This commit is contained in:
parent
21d4a26913
commit
b37ca1583c
4
.github/workflows/lint.yaml
vendored
4
.github/workflows/lint.yaml
vendored
@ -23,7 +23,11 @@ jobs:
|
|||||||
uses: trilom/file-changes-action@v1.2.4
|
uses: trilom/file-changes-action@v1.2.4
|
||||||
with:
|
with:
|
||||||
output: ' '
|
output: ' '
|
||||||
|
continue-on-error: true
|
||||||
- run: ./format.sh ${{ steps.files.outputs.files}}
|
- run: ./format.sh ${{ steps.files.outputs.files}}
|
||||||
|
if: ${{ steps.files.outcome == 'success' }}
|
||||||
|
- run: ./format.sh
|
||||||
|
if: ${{ steps.files.outcome == 'failure' }}
|
||||||
|
|
||||||
# fail if any files were changed by ./format.sh
|
# fail if any files were changed by ./format.sh
|
||||||
- id: files_formatted
|
- id: files_formatted
|
||||||
|
Loading…
Reference in New Issue
Block a user