mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-05-20 09:18:19 +00:00
Workflow commits after update_locales cmd, no merge action
This commit is contained in:
parent
34cd7558d0
commit
24e130cd2f
8
.github/workflows/update_locales.yml
vendored
8
.github/workflows/update_locales.yml
vendored
|
@ -18,15 +18,15 @@ jobs:
|
|||
- name: Run update_locales command
|
||||
run: ./bw-dev update_locales
|
||||
|
||||
- name: Create pull request
|
||||
- name: Run update_locales and commit changes
|
||||
run: |
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config user.name "github-actions[bot]"
|
||||
git fetch origin main:main
|
||||
git switch main
|
||||
git fetch origin l10n_main:l10n_main
|
||||
git checkout l10n_main locale/*
|
||||
git commit -m "[GitHub Action] Update locales"
|
||||
gh pr create -B main -H l10n_main --title 'Merge l10n_main into main' --body 'Created by Github action using the update-locales.yml workflow'
|
||||
./bw-dev update_locales
|
||||
git add -A
|
||||
git commit -a -m "[GitHub Action] Update locales"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue