5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 16:06:56 +00:00

Merge pull request #382 from Fdawgs/build/dependabot

ci: skip release on dev dependency updates
This commit is contained in:
Wagner Santos 2022-04-06 18:12:36 -03:00 committed by GitHub
commit 06b7427579
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 13 deletions

View file

@ -8,11 +8,11 @@ jobs:
name: Sanity Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.4.1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '12.x'
- uses: actions/cache@v2.1.6
- uses: actions/cache@v3
with:
path: |
~/.npm
@ -28,17 +28,20 @@ jobs:
contents: write
needs: sanity-checks
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:
DOCKER_REGISTRY_URL: registry.hub.docker.com
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v2.4.1
- uses: actions/setup-node@v3
with:
node-version: '12.x'
- uses: actions/cache@v2.1.6
- uses: actions/cache@v3
with:
path: |
~/.npm

View file

@ -5,15 +5,15 @@ jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: sed -i -E "s/(docker:.+)/Dockerfile/" ./action.yml
- run: echo -n '' > .dockerignore
- uses: actions/setup-node@v2.4.1
- uses: actions/setup-node@v3
with:
node-version: '14'
- uses: actions/cache@v2.1.6
- uses: actions/cache@v3
with:
path: |
~/.npm
@ -32,13 +32,13 @@ jobs:
commitlint-pulling-from-docker-hub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v2.4.1
- uses: actions/setup-node@v3
with:
node-version: '14'
- uses: actions/cache@v2.1.6
- uses: actions/cache@v3
with:
path: |
~/.npm