1919 with :
2020 repository : ${{ github.repository_owner }}/X4-LuaLSAddon
2121 path : common/X4-LuaLSAddon
22+ token : ${{ secrets.LIBRARY_TOKEN }}
2223
2324 - name : Set up Node.js
2425 uses : actions/setup-node@v4
@@ -29,12 +30,12 @@ jobs:
2930 id : branch-name
3031 run : echo "branch_name=library-update-$(date +'%Y%m%d-%H%M')" >> $GITHUB_OUTPUT
3132
32- - name : Create branch in X4-LuaLSAddon
33- working-directory : common/X4-LuaLSAddon
34- run : |
35- git config user.name "${{ github.actor }}"
36- git config user.email "${{ github.actor }}@users.noreply.github.com"
37- git checkout -b ${{ steps.branch-name.outputs.branch_name }}
33+ # - name: Create branch in X4-LuaLSAddon
34+ # working-directory: common/X4-LuaLSAddon
35+ # run: |
36+ # git config user.name "${{ github.actor }}"
37+ # git config user.email "${{ github.actor }}@users.noreply.github.com"
38+ # git checkout -b ${{ steps.branch-name.outputs.branch_name }}
3839
3940 - name : Install dependencies
4041 working-directory : common/X4-LuaLSAddonPrep/script
@@ -49,17 +50,18 @@ jobs:
4950 id : check_changes
5051 working-directory : common/X4-LuaLSAddon
5152 run : |
53+ git config user.name "${{ github.actor }}"
54+ git config user.email "${{ github.actor }}@users.noreply.github.com"
5255 git add .
5356 git diff --staged --quiet || echo "changes=true" >> $GITHUB_OUTPUT
5457
55- - name : Commit and push changes
56- if : steps.check_changes.outputs.changes == 'true'
57- working-directory : common/X4-LuaLSAddon
58- env :
59- GITHUB_TOKEN : ${{ secrets.LIBRARY_TOKEN }}
60- run : |
61- git commit -m "Auto-update X4 add-on library from data files"
62- git push -u origin ${{ steps.branch-name.outputs.branch_name }}
58+ # - name: Commit and push changes
59+ # if: steps.check_changes.outputs.changes == 'true'
60+ # working-directory: common/X4-LuaLSAddon
61+ # env:
62+ # GITHUB_TOKEN: ${{ secrets.LIBRARY_TOKEN }}
63+ # run: |
64+ # git commit -m "Auto-update X4 add-on library from data files"
6365
6466 - name : Create Pull Request
6567 if : steps.check_changes.outputs.changes == 'true'
0 commit comments