Skip to content

Commit

Permalink
Merge pull request #382 from Fdawgs/build/dependabot
Browse files Browse the repository at this point in the history
ci: skip release on dev dependency updates
  • Loading branch information
wagoid committed Apr 6, 2022
2 parents 61e2e54 + ae79574 commit 06b7427
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/ci.yml
Expand Up @@ -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
Expand All @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/commitlint.yml
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 06b7427

Please sign in to comment.