Update the branch for upstream pull request #5
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: Update the branch for upstream pull request | |
on: | |
workflow_dispatch: | |
concurrency: | |
group: export | |
permissions: | |
contents: write | |
id-token: write | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: | | |
git remote add upstream https://github.com/bluesky-social/social-app.git | |
git fetch upstream main | |
git checkout -b export upstream/main | |
git restore --source origin/l10n_main src/**/uk/* | |
git add --all | |
if ! git diff-index --quiet HEAD; then | |
git config user.name Ukrainians | |
git config user.email github-actions@github.com | |
git commit -m 'Update Ukrainian translation' | |
git push -f origin HEAD | |
fi |