Skip to content

Commit

Permalink
CI: fix base branch
Browse files Browse the repository at this point in the history
  • Loading branch information
BLooperZ authored May 6, 2024
1 parent fa56180 commit d5fc1fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/update-translation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
# Runs at 20:00 UTC on every day-of-week from Sunday through Thursday.
- cron: '0 20 * * 0-4'

env:
BASE_BRANCH: master

jobs:
setup:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -60,7 +63,7 @@ jobs:
git config --global user.name "${{ github.actor }}"
git fetch origin $base_branch
echo "basename=$(basename ${{ matrix.dir }})" >> $GITHUB_ENV
echo "base_branch=test_auto_update" >> $GITHUB_ENV
echo "base_branch=${{ env.BASE_BRANCH }}" >> $GITHUB_ENV
echo "new_branch=ci-update-translation-${{ matrix.dir }}" >> $GITHUB_ENV
- name: Checkout new branch
Expand Down

0 comments on commit d5fc1fa

Please sign in to comment.