Skip to content

Commit

Permalink
chore: optimize tmLanguage
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-semenov committed May 16, 2024
1 parent a3914b3 commit 8ebdcf8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
27 changes: 18 additions & 9 deletions .github/workflows/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,24 @@ jobs:

- name: Auto-commit changes
id: auto-commit-action
uses: stefanzweifel/[email protected]
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 commit.gpgsign true
git config --global user.email "${{ steps.import-gpg.outputs.email }}"
git config --global user.name "${{ steps.import-gpg.outputs.name }}"
git config --global user.signingkey "${{ steps.import-gpg.outputs.fingerprint }}"
git add syntaxes/* images/*
git commit -S -m "auto-commit of artifacts"
git push --signed=false
# id: auto-commit-action
# uses: stefanzweifel/[email protected]
# 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'
Expand Down
1 change: 0 additions & 1 deletion src/main.YAML-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ fileTypes:
- parigp
name: PARI/GP
patterns:
- include: '#comments'
- include: '#code'
repository:
parens:
Expand Down

0 comments on commit 8ebdcf8

Please sign in to comment.