Skip to content

Commit

Permalink
Merge branch 'dev' into f/embed-instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
HamadaSalhab committed Oct 19, 2024
2 parents ea49775 + f2ffbf5 commit 5d6f89d
Show file tree
Hide file tree
Showing 77 changed files with 4,243 additions and 2,765 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/doctoc-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAX_HEADER_LEVEL: 3
TOC_TITLE: '<h3>📖 Table of Contents</h3>'
FOLDING: true
FOLDING: false
26 changes: 14 additions & 12 deletions .github/workflows/translate-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

- name: Setup Python v3.10.12
uses: actions/setup-python@v5
with:
Expand All @@ -24,15 +26,15 @@ jobs:
- name: Run translator script
run: python scripts/readme_translator.py

- name: Commit changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add README-*.md
git commit -m "chore(readme): translate README.md"
- name: Push changes
uses: ad-m/[email protected]
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore(readme): translate README.md"
title: "Translate README.md"
body: "This PR updates the translated versions of README.md"
branch: "translate-readme"
delete-branch: true
add-paths: |
README.md
README-*.md
Loading

0 comments on commit 5d6f89d

Please sign in to comment.