Skip to content

Commit

Permalink
fix: better YAML pattern to handle .github files as well as config.yml (
Browse files Browse the repository at this point in the history
  • Loading branch information
greatislander authored Aug 15, 2023
1 parent d37829e commit 7642a09
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
version: 2
updates:
# Enable version updates for npm
- package-ecosystem: "npm"
- package-ecosystem: npm
# Look for `package.json` and `lock` files in the `root` directory
directory: "/"
directory: /
# Check for updates once a month
schedule:
interval: "monthly"
interval: monthly
allow:
# Allow direct updates only (for packages named in package.json)
- dependency-type: "direct"
- dependency-type: direct
# Enable version updates for npm
- package-ecosystem: github-actions
# Look for `package.json` and `lock` files in the `root` directory
directory: "/"
directory: /
# Check for updates once a month
schedule:
interval: "monthly"
interval: monthly
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Docker build

on:
pull_request:
branches: [ main ]
branches: [main]

jobs:
docker:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Lint and build

on:
pull_request:
branches: [ main ]
branches: [main]

jobs:
lint-build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish release

on:
push:
branches: [ main ]
branches: [main]

jobs:
release-please:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lint:css": "stylelint \"**/*.css\"",
"lint:js": "eslint \"**/*.js\"",
"lint:markdown": "markdownlint-cli2 \"**/*.md\"",
"lint:yml": "eslint \"**/*.yml\"",
"lint:yml": "eslint --no-error-on-unmatched-pattern \".github/**/*.yml\" \"**/*.yml\"",
"start": "npm-run-all -l clean -p start:*",
"start:eleventy": "run-p dev cms",
"prepare": "husky install"
Expand Down

0 comments on commit 7642a09

Please sign in to comment.