Skip to content

Commit

Permalink
change commits author
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoheml committed Aug 16, 2024
1 parent 06cb346 commit 386ebf3
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 35 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/language-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,38 +28,38 @@ jobs:
id: set-matrix
run: echo "::set-output name=matrix::${{ steps.changed-files.outputs.all_changed_files }}}"

# push:
# needs: [ setup ]
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# value: ${{fromJson(needs.setup.outputs.matrix)}}
# steps:
# -
# name: Checkout repository
# uses: actions/checkout@v3
# with:
# fetch-depth: 2
# -
# name: Extract folder name of the path
# id: folder-name
# run: |
# echo "REPOSITORY=$(echo "${{ matrix.value }}" | cut -d'/' -f 1)" >> $GITHUB_ENV
# echo "TARGET_FOLDER=$(echo "${{ matrix.value }}" | cut -d'/' -f 2- | rev | cut -d '/' -f 2- | rev)" >> $GITHUB_ENV
# -
# name: Push file
# uses: dmnemec/[email protected]
# env:
# API_TOKEN_GITHUB: ${{ secrets.PAT }}
# with:
# source_file: ${{ matrix.value }}
# destination_repo: ${{ github.REPOSITORY_OWNER }}/${{ env.REPOSITORY }}
# destination_folder: lua/${{ env.TARGET_FOLDER }}
# user_email: github-actions@github.com
# user_name: github-actions
# commit_message: Synchronize language from public repository
# destination_branch: develop
push:
needs: [ setup ]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
value: ${{fromJson(needs.setup.outputs.matrix)}}
steps:
-
name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 2
-
name: Extract folder name of the path
id: folder-name
run: |
echo "REPOSITORY=$(echo "${{ matrix.value }}" | cut -d'/' -f 1)" >> $GITHUB_ENV
echo "TARGET_FOLDER=$(echo "${{ matrix.value }}" | cut -d'/' -f 2- | rev | cut -d '/' -f 2- | rev)" >> $GITHUB_ENV
-
name: Push file
uses: dmnemec/[email protected]
env:
API_TOKEN_GITHUB: ${{ secrets.PAT }}
with:
source_file: ${{ matrix.value }}
destination_repo: ${{ github.REPOSITORY_OWNER }}/${{ env.REPOSITORY }}
destination_folder: lua/${{ env.TARGET_FOLDER }}
user_email: 41898282+github-actions[bot]@users.noreply.github.com
user_name: github-actions[bot]
commit_message: Synchronize language from public repository
destination_branch: develop
kbrpPush:
needs: [ setup ]
runs-on: ubuntu-latest
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
source_file: ${{ matrix.value }}
destination_repo: KB-RolePlay/${{ env.REPOSITORY }}
destination_folder: lua/${{ env.TARGET_FOLDER }}
user_email: github-actions@github.com
user_name: github-actions
user_email: 41898282+github-actions[bot]@users.noreply.github.com
user_name: github-actions[bot]
commit_message: Synchronize language from public KB-GModStore repository
destination_branch: main
1 change: 0 additions & 1 deletion zeros_yeastbeast/zyb_languages/sh_zyb_language_fr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ zyb.language.NPC = zyb.language.NPC or {}
zyb.language.VGUI = zyb.language.VGUI or {}

if (zyb.config.SelectedLanguage == "fr") then

zyb.language.General["Distillery"] = "Distillerie"
zyb.language.General["MissingCooler"] = "Refroidisseur manquant!"
zyb.language.General["MissingCondenser"] = "Condenseur manquant!"
Expand Down

0 comments on commit 386ebf3

Please sign in to comment.