Skip to content

Commit

Permalink
Add weblate sync workflow
Browse files Browse the repository at this point in the history
This will automatically open a PR whenever weblate
pushes changes to weblate-sync.

Signed-off-by: Chihurumnaya Ibiam <[email protected]>
  • Loading branch information
chimosky committed Apr 4, 2024
1 parent d2a9d6d commit 388e990
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/weblate-sync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Weblate - Create PR when weblate pushes changes
on:
push:
branches:
- weblate-sync
jobs:
weblateSync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Pull Request
run: gh pr create --base main --head weblate-sync -t "Weblate Synchronization" --body ""
env:
GH_TOKEN: ${{ github.token }}

0 comments on commit 388e990

Please sign in to comment.