Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically add extracted strings to main instead of PR #2315

Merged
merged 1 commit into from
Mar 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 6 additions & 14 deletions .github/workflows/extract-strings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.REPO_COMMIT }}

- name: Setup Node 18.x
uses: actions/setup-node@v3
Expand All @@ -41,17 +42,8 @@ jobs:
npm install
npm run locale:extract

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
base: main
body: "Extracted latest strings from source"
branch: string-updates
commit-message: "Extracted latest strings from source"
delete-branch: true
reviewers: "emlowe"
assignees: "emlowe"
title: "Latest Strings"
token: "${{ secrets.GITHUB_TOKEN }}"
committer: "ChiaAutomation <[email protected]>"
author: "ChiaAutomation <[email protected]>"
- name: Commit changes back to the repo
run: |
git add '**/messages.po'
git commit -m "Extract latest strings for translation"
git push origin main
Loading