diff --git a/.bundle/config b/.bundle/config deleted file mode 100644 index d137d242e..000000000 --- a/.bundle/config +++ /dev/null @@ -1,2 +0,0 @@ -BUNDLE_PATH: "vendor/bundle" -BUNDLE_FORCE_RUBY_PLATFORM: 1 \ No newline at end of file diff --git a/.github/workflows/crowdin-pull.yml b/.github/workflows/crowdin-pull.yml index 866a124de..457fb71e4 100644 --- a/.github/workflows/crowdin-pull.yml +++ b/.github/workflows/crowdin-pull.yml @@ -13,11 +13,6 @@ jobs: pull-from-crowdin: runs-on: ubuntu-latest - # Apparently needed to rename files, though maybe there's a better way - container: - image: node:18 - options: --user root - steps: - name: Checkout uses: actions/checkout@v4 @@ -74,12 +69,18 @@ jobs: CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} + # The crowdin action adds new files owned by root. We need the default + # user to own them so we can move them around + - name: Change ownership + run: sudo chown -R $USER * + # Move files named with crowdin locales to files named with iNat # locales. This will also fail if there's invalid FTL. We might want to # separate those things in the future if it's easier to notice # validation failures in the PR - name: Normalize and validate run: npm run translate + - name: Prepare Fastlane metadata directories run: npm run prepare-fastlane-metadata diff --git a/.gitignore b/.gitignore index 3836e2b50..69351ffde 100644 --- a/.gitignore +++ b/.gitignore @@ -43,6 +43,7 @@ npm-debug.log yarn-error.log # Bundle artifact +.bundle* *.jsbundle # Ruby / CocoaPods