-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Describe the bug
After updating to 4.2.0 our workflow is no longer able to update an existing PR.
To Reproduce
Run workflow with multiple steps using lokalise-pull-action with override_branch_name: lokalise-sync
error: failed to push some refs to ...
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. If you want to integrate the remote changes,
hint: use 'git pull' before pushing again.
Expected behavior
PR on lokalise-sync branch updated
Your environment:
name: Sync localisations
on:
workflow_dispatch:
jobs:
sync-localisations:
name: Sync localisations
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- uses: lokalise/[email protected]
with:
api_token: ${{ secrets.LOKALISE_TOKEN }}
file_format: xml
async_mode: true
skip_include_tags: true
always_pull_base: true
override_branch_name: lokalise-sync
additional_params: >
{
"export_empty_as": "base",
"escape_percent": true,
"include_description": true
}
- uses: lokalise/[email protected]
with:
api_token: ${{ secrets.LOKALISE_TOKEN }}
file_format: xml
async_mode: true
skip_include_tags: true
always_pull_base: true
override_branch_name: lokalise-sync
additional_params: >
{
"export_empty_as": "base",
"escape_percent": true,
"include_description": true
}
Metadata
Metadata
Assignees
Labels
No labels