Skip to content

Commit

Permalink
Merge branch 'main' into update-embedded-devices-example
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljanes authored Nov 22, 2024
2 parents 9cfa889 + 442604a commit 506f35a
Show file tree
Hide file tree
Showing 5 changed files with 11,982 additions and 6,088 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/update_translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,17 @@ jobs:
contents: write
pull-requests: write
env:
branch-name: auto-update-trans-text
base-branch: main # The base branch for the PR
name: Update text
steps:
- uses: actions/checkout@v4

- name: Generate unique branch name
id: generate_branch
run: |
export BRANCH_NAME="auto-update-trans-text-$(date +'%Y%m%d-%H%M%S')"
echo "branch-name=$BRANCH_NAME" >> $GITHUB_ENV
- name: Bootstrap
uses: ./.github/actions/bootstrap
with:
Expand Down Expand Up @@ -65,15 +71,15 @@ jobs:
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: '${{ env.branch-name }}'
force_with_lease: true
branch: ${{ env.branch-name }}

- name: Create Pull Request
if: steps.calculate_diff.outputs.additions > 228 && steps.calculate_diff.outputs.deletions > 60
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: '${{ env.branch-name }}'
branch: ${{ env.branch-name }}
base: ${{ env.base-branch }}
delete-branch: true
title: 'docs(framework:skip) Update source texts for translations (automated)'
body: 'This PR is auto-generated to update text and language files.'
Expand Down
Loading

0 comments on commit 506f35a

Please sign in to comment.