Skip to content

Commit

Permalink
Merge pull request #10304 from camptocamp/fix-updatel18n
Browse files Browse the repository at this point in the history
Fix the status check
  • Loading branch information
sbrunner authored Jan 31, 2023
2 parents 59ee41a + c1cfd1c commit 5c3ab5b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
git config --global user.name CI
- id: status
run: echo "status=$(git status --porcelain)" >> $GITHUB_OUTPUT
run: echo "status=$(git diff --exit-code --quiet && echo 'unchanged' || echo 'changed')" >> $GITHUB_OUTPUT

- name: Push l10n branch and create pull request
run: |
Expand All @@ -62,4 +62,4 @@ jobs:
)
# 422 is the return code when the pull request already exists
assert response.status_code < 300 or response.status_code == 422, f'{response.status_code} - {response.text}'"
if: steps.status.outputs.status != ''
if: steps.status.outputs.status != 'unchanged'

0 comments on commit 5c3ab5b

Please sign in to comment.