Skip to content

Commit

Permalink
Revert "feat: prevent blankline commits" (#3868)
Browse files Browse the repository at this point in the history
  • Loading branch information
bigint committed Oct 3, 2023
2 parents ad0a781 + 5080326 commit f57f2fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/crowdin-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,14 @@ jobs:
with:
upload_translations: false
download_translations: true
create_pull_request: false
create_pull_request: true
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
pull_request_title: 'chore(i18n): synchronize translations from crowdin'
pull_request_body: 'New Crowdin pull request with translations'
pull_request_assignees: 'crowdin-bot'
pull_request_reviewers: 'bigint'
source: '/**/locales/en/*.po'
translation: '/**/locales/%two_letters_code%/%original_file_name%'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Remove last empty lines from translations
run: |
find '/**/locales/' -type f -name '*.po' -exec sed -i -e '${/^$/d;}' {} \;
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: 'chore(i18n): synchronize translations from crowdin'
body: 'New Crowdin pull request with translations'
assignees: 'crowdin-bot'
reviewers: 'bigint'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"


pnpm lint:affected
pnpm typecheck:affected

1 comment on commit f57f2fa

@vercel
Copy link

@vercel vercel bot commented on f57f2fa Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

prerender – ./apps/prerender

prerender-heyxyz.vercel.app
prerender-git-main-heyxyz.vercel.app
prerender.hey.xyz

Please sign in to comment.