mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 08:06:54 +00:00
Merge pull request #382 from Fdawgs/build/dependabot
ci: skip release on dev dependency updates
This commit is contained in:
commit
06b7427579
2 changed files with 16 additions and 13 deletions
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
|
|
@ -8,11 +8,11 @@ jobs:
|
||||||
name: Sanity Checks
|
name: Sanity Checks
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v2.4.1
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '12.x'
|
node-version: '12.x'
|
||||||
- uses: actions/cache@v2.1.6
|
- uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.npm
|
~/.npm
|
||||||
|
|
@ -28,17 +28,20 @@ jobs:
|
||||||
contents: write
|
contents: write
|
||||||
needs: sanity-checks
|
needs: sanity-checks
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: "github.ref == 'refs/heads/master' && !contains(toJSON(github.event.commits.*.message), '[skip-ci]')"
|
if: >
|
||||||
|
github.ref == 'refs/heads/master'
|
||||||
|
&& !contains(toJSON(github.event.commits.*.message), '[skip-ci]')
|
||||||
|
&& !contains(toJSON(github.event.commits.*.message), 'chore(deps-dev)')
|
||||||
env:
|
env:
|
||||||
DOCKER_REGISTRY_URL: registry.hub.docker.com
|
DOCKER_REGISTRY_URL: registry.hub.docker.com
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: actions/setup-node@v2.4.1
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '12.x'
|
node-version: '12.x'
|
||||||
- uses: actions/cache@v2.1.6
|
- uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.npm
|
~/.npm
|
||||||
|
|
|
||||||
12
.github/workflows/commitlint.yml
vendored
12
.github/workflows/commitlint.yml
vendored
|
|
@ -5,15 +5,15 @@ jobs:
|
||||||
commitlint:
|
commitlint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- run: sed -i -E "s/(docker:.+)/Dockerfile/" ./action.yml
|
- run: sed -i -E "s/(docker:.+)/Dockerfile/" ./action.yml
|
||||||
- run: echo -n '' > .dockerignore
|
- run: echo -n '' > .dockerignore
|
||||||
- uses: actions/setup-node@v2.4.1
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '14'
|
||||||
- uses: actions/cache@v2.1.6
|
- uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.npm
|
~/.npm
|
||||||
|
|
@ -32,13 +32,13 @@ jobs:
|
||||||
commitlint-pulling-from-docker-hub:
|
commitlint-pulling-from-docker-hub:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: actions/setup-node@v2.4.1
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '14'
|
||||||
- uses: actions/cache@v2.1.6
|
- uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.npm
|
~/.npm
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue