OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
use if in crowdin workflow to simplify running multiple commands
Ivan Kuchina65e9291edcd
diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.ymlindex 2b25657d64b..d58cf822f00 100644--- a/.github/workflows/crowdin.yml+++ b/.github/workflows/crowdin.yml@@ -88,10 +88,10 @@ jobs:echo "Updating combined translations"git ls-files -m -o | grep 'crowdin\/.*\.yml$' | xargs git addgit diff --staged --name-only- git diff --staged --exit-code --quiet || (- git commit -m "update locales from crowdin [ci skip]" &&- echo "Run git pull --rebase" &&- git pull --rebase &&- echo "Run git push origin $BRANCH" &&- git push origin $BRANCH- )+ if ! git diff --staged --exit-code --quiet; then+ git commit -m "update locales from crowdin [ci skip]"+ echo "Run git pull --rebase"+ git pull --rebase"+ echo "Run git push origin $BRANCH"+ git push origin "$BRANCH"+ fi