-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: auto-commit only from syntaxes/
- Loading branch information
1 parent
4df0e32
commit d109fd2
Showing
3 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,15 +26,25 @@ jobs: | |
run: vagrant --version | ||
|
||
- name: Run vagrant up & provision | ||
run: VER=23.11 vagrant up --provision | ||
run: vagrant up --provision | ||
env: | ||
VER: 23.11 | ||
|
||
- name: Import GPG key | ||
uses: crazy-max/[email protected] | ||
with: | ||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
passphrase: ${{ secrets.PASSPHRASE }} | ||
|
||
- name: Auto-commit changes | ||
id: auto-commit-action | ||
uses: stefanzweifel/[email protected] | ||
with: | ||
commit_message: Automated Change | ||
commit_message: auto-commit of artifacts | ||
branch: main | ||
commit_options: '--no-verify --signoff' | ||
commit_user_name: Publishing Bot | ||
file_pattern: 'syntaxes/*' | ||
commit_user_name: publishing-bot | ||
commit_user_email: [email protected] | ||
|
||
- name: Run if changes have been detected | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,11 +8,20 @@ on: | |
|
||
jobs: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
runs-on: macos-12 | ||
steps: | ||
- name: Install pre-commit & yamllint | ||
run: brew install pre-commit yamllint | ||
|
||
- name: Show pre-commit version | ||
run: pre-commit --version | ||
|
||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Pre-commit autoupdate | ||
run: pre-commit autoupdate | ||
|
||
- id: file_changes | ||
uses: trilom/[email protected] | ||
with: | ||
|
@@ -21,3 +30,5 @@ jobs: | |
- uses: pre-commit/[email protected] | ||
with: | ||
extra_args: --files ${{ steps.file_changes.outputs.files }} --show-diff-on-failure | ||
env: | ||
PRE_COMMIT_VERBOSE: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters