Merge pull request #2127 from IanDelMar/auto-commit

Fix and update workflows
This commit is contained in:
Brian Coords 2023-10-13 07:06:40 -07:00 committed by GitHub
commit 48e2a198b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 16 deletions

View File

@ -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

View File

@ -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

27
.github/workflows/typos-check.yml vendored Normal file
View File

@ -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