diff --git a/.github/workflows/build-artifacts.yml b/.github/workflows/build-artifacts.yml index a7a0db8..86e2abf 100644 --- a/.github/workflows/build-artifacts.yml +++ b/.github/workflows/build-artifacts.yml @@ -51,15 +51,22 @@ jobs: - name: Auto-commit changes id: auto-commit-action - uses: stefanzweifel/git-auto-commit-action@v5.0.1 - with: - commit_message: auto-commit of artifacts - branch: main - commit_options: '--no-verify --signoff -S' - file_pattern: 'syntaxes/* images/*' - commit_author: "${{ steps.import-gpg.outputs.name }} <${{ steps.import-gpg.outputs.email }}>" - commit_user_name: "${{ steps.import-gpg.outputs.name }}" - commit_user_email: "${{ steps.import-gpg.outputs.email }}" + run: | + git config --global user.email "${{ steps.import-gpg.outputs.email }}" + git config --global user.name "${{ steps.import-gpg.outputs.name }}" + git add syntaxes/* images/* + git commit -S -m "auto-commit of artifacts" + git push + + # id: auto-commit-action + # uses: stefanzweifel/git-auto-commit-action@v5.0.1 + # with: + # commit_message: auto-commit of artifacts + # branch: main + # commit_options: '-S' + # file_pattern: 'syntaxes/* images/*' + # commit_user_name: ${{ steps.import-gpg.outputs.name }} + # commit_user_email: ${{ steps.import-gpg.outputs.email }} - name: Run if changes have been detected if: steps.auto-commit-action.outputs.changes_detected == 'true' diff --git a/src/main.YAML-tmLanguage b/src/main.YAML-tmLanguage index 73c0f11..6ce34fa 100644 --- a/src/main.YAML-tmLanguage +++ b/src/main.YAML-tmLanguage @@ -7,7 +7,6 @@ fileTypes: - parigp name: PARI/GP patterns: - - include: '#comments' - include: '#code' repository: parens: