Skip to content

Commit fa3dd1d

Browse files
committed
Fix the used if block
1 parent f70bae1 commit fa3dd1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pull-request-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,15 @@ jobs:
101101
docs
102102
103103
- name: Commit files
104-
if: steps.verify-changed-files.outputs.files_exists == 'false'
104+
if: steps.verify-changed-files.outputs.files_changed == 'true'
105105
run: |
106106
git config --local user.email "github-actions[bot]@users.noreply.github.com"
107107
git config --local user.name "github-actions[bot]"
108108
git add --force docs
109109
git commit -m "Add coverage badge and documentation"
110110
111111
- name: Push changes
112-
if: steps.verify-changed-files.outputs.files_exists == 'false'
112+
if: steps.verify-changed-files.outputs.files_changed == 'true'
113113
uses: ad-m/github-push-action@master
114114
with:
115115
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)