This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pull upstream changes for new untranslated strings (ID) | |
on: [push] | |
jobs: | |
pull-new-strings: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: | | |
git remote add upstream https://github.com/kodebanget/bluesky-social-app.git | |
git fetch upstream main | |
FILE_IS_UPDATED=$(git diff --compact-summary main upstream/main | grep 'id/messages.po') | |
echo $FILE_IS_UPDATED | |
if [ "$FILE_IS_UPDATED" != "" ]; then | |
git merge upstream/main | |
git push origin main | |
fi |