Merge pull request #2127 from IanDelMar/auto-commit
Fix and update workflows
This commit is contained in:
commit
48e2a198b0
|
|
@ -7,7 +7,7 @@ on:
|
|||
- '**.scss'
|
||||
- '**.js'
|
||||
- 'package-lock.json'
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
branches: [ develop ]
|
||||
paths:
|
||||
- '**.scss'
|
||||
|
|
@ -62,7 +62,7 @@ jobs:
|
|||
- name: Build Bootstrap 4 CSS
|
||||
run: npm run css-bs4
|
||||
|
||||
- name: Build Bootstrap 5 JS
|
||||
- name: Build Bootstrap 4 JS
|
||||
run: npm run js-bs4
|
||||
|
||||
- name: Commit CSS and JS files
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ on:
|
|||
- 'phpcs.xml.dist'
|
||||
- 'phpmd.xml'
|
||||
- 'phpstan.neon.dist'
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
branches: [ develop ]
|
||||
paths:
|
||||
- '**.php'
|
||||
|
|
@ -20,6 +20,10 @@ on:
|
|||
env:
|
||||
php-version: '7.4'
|
||||
|
||||
concurrency:
|
||||
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
||||
phpcs:
|
||||
|
|
@ -163,16 +167,3 @@ jobs:
|
|||
with:
|
||||
commit_message: Update PHPMD basefile
|
||||
branch: ${{ github.head_ref }}
|
||||
|
||||
typos-check:
|
||||
|
||||
name: 'Typos check'
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Search for misspellings
|
||||
uses: crate-ci/typos@master
|
||||
|
|
|
|||
|
|
@ -0,0 +1,27 @@
|
|||
name: Typos Check
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ develop ]
|
||||
pull_request:
|
||||
branches: [ develop ]
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
||||
typos-check:
|
||||
|
||||
name: 'Typos check'
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Search for misspellings
|
||||
uses: crate-ci/typos@master
|
||||
Loading…
Reference in New Issue