Skip to content

Commit

Permalink
Add export.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kodebanget committed Feb 14, 2024
1 parent 462595c commit 5ead2be
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/export.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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_id src/**/id/*
git add --all
if ! git diff-index --quiet HEAD; then
git config user.name Indonesian
git config user.email [email protected]
git commit -m 'Update Indonesian translation'
git push -f origin HEAD
fi

0 comments on commit 5ead2be

Please sign in to comment.