mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-02-08 21:59:39 +01:00
ci: disable commitlint for dependabot
This commit is contained in:
parent
970b55bbe3
commit
0b835453bd
23
.github/workflows/Divlo.yml
vendored
23
.github/workflows/Divlo.yml
vendored
@ -26,6 +26,23 @@ jobs:
|
|||||||
- name: 'Perform CodeQL Analysis'
|
- name: 'Perform CodeQL Analysis'
|
||||||
uses: 'github/codeql-action/analyze@v1'
|
uses: 'github/codeql-action/analyze@v1'
|
||||||
|
|
||||||
|
build:
|
||||||
|
runs-on: 'ubuntu-latest'
|
||||||
|
steps:
|
||||||
|
- uses: 'actions/checkout@v2.3.4'
|
||||||
|
|
||||||
|
- name: 'Use Node.js'
|
||||||
|
uses: 'actions/setup-node@v2.4.0'
|
||||||
|
with:
|
||||||
|
node-version: '16.x'
|
||||||
|
cache: 'npm'
|
||||||
|
|
||||||
|
- name: 'Install'
|
||||||
|
run: 'npm install'
|
||||||
|
|
||||||
|
- name: 'Build'
|
||||||
|
run: 'npm run build'
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
steps:
|
steps:
|
||||||
@ -41,6 +58,8 @@ jobs:
|
|||||||
run: 'npm install'
|
run: 'npm install'
|
||||||
|
|
||||||
- run: 'npm run lint:commit -- --to "${{ github.sha }}"'
|
- run: 'npm run lint:commit -- --to "${{ github.sha }}"'
|
||||||
|
if: github.actor != 'dependabot[bot]'
|
||||||
|
|
||||||
- run: 'npm run lint:docker'
|
- run: 'npm run lint:docker'
|
||||||
- run: 'npm run lint:editorconfig'
|
- run: 'npm run lint:editorconfig'
|
||||||
- run: 'npm run lint:markdown'
|
- run: 'npm run lint:markdown'
|
||||||
@ -106,7 +125,7 @@ jobs:
|
|||||||
run: 'npm run test:e2e'
|
run: 'npm run test:e2e'
|
||||||
|
|
||||||
automerge-dependabot:
|
automerge-dependabot:
|
||||||
needs: [analyze, lint, test-unit, test-e2e, test-lighthouse]
|
needs: [analyze, build, lint, test-unit, test-lighthouse, test-e2e]
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
steps:
|
steps:
|
||||||
- uses: 'fastify/github-action-merge-dependabot@v2.4.0'
|
- uses: 'fastify/github-action-merge-dependabot@v2.4.0'
|
||||||
@ -115,7 +134,7 @@ jobs:
|
|||||||
|
|
||||||
release:
|
release:
|
||||||
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
|
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
|
||||||
needs: [analyze, lint, test-unit, test-e2e, test-lighthouse]
|
needs: [analyze, build, lint, test-unit, test-lighthouse, test-e2e]
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
steps:
|
steps:
|
||||||
- uses: 'actions/checkout@v2.3.4'
|
- uses: 'actions/checkout@v2.3.4'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user