Skip to content

Commit

Permalink
chore: postinstall for dependabot template-oss PR
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Jul 19, 2023
1 parent b914a3d commit cce6180
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 8 deletions.
33 changes: 33 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ updates:
directory: /
schedule:
interval: daily
target-branch: "main"
allow:
- dependency-type: direct
versioning-strategy: increase-if-necessary
Expand All @@ -15,3 +16,35 @@ updates:
prefix-development: chore
labels:
- "Dependencies"
- package-ecosystem: npm
directory: /
schedule:
interval: daily
target-branch: "release/v5"
allow:
- dependency-type: direct
dependency-name: "@npmcli/template-oss"
versioning-strategy: increase-if-necessary
commit-message:
prefix: deps
prefix-development: chore
labels:
- "Dependencies"
- "Backport"
- "release/v5"
- package-ecosystem: npm
directory: /
schedule:
interval: daily
target-branch: "release/v6"
allow:
- dependency-type: direct
dependency-name: "@npmcli/template-oss"
versioning-strategy: increase-if-necessary
commit-message:
prefix: deps
prefix-development: chore
labels:
- "Dependencies"
- "Backport"
- "release/v6"
7 changes: 5 additions & 2 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ branches:
protection:
required_status_checks: null
enforce_admins: true
block_creations: true
required_pull_request_reviews:
required_approving_review_count: 1
require_code_owner_reviews: true
Expand All @@ -24,10 +25,11 @@ branches:
apps: []
users: []
teams: [ "cli-team" ]
- name: latest
- name: release/v5
protection:
required_status_checks: null
enforce_admins: true
block_creations: true
required_pull_request_reviews:
required_approving_review_count: 1
require_code_owner_reviews: true
Expand All @@ -37,10 +39,11 @@ branches:
apps: []
users: []
teams: [ "cli-team" ]
- name: release/v*
- name: release/v6
protection:
required_status_checks: null
enforce_admins: true
block_creations: true
required_pull_request_reviews:
required_approving_review_count: 1
require_code_owner_reviews: true
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
push:
branches:
- main
- latest
- release/v*
schedule:
# "At 09:00 UTC (02:00 PT) on Monday" https://crontab.guru/#0_9_*_*_1
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ on:
push:
branches:
- main
- latest
- release/v*
pull_request:
branches:
- main
- latest
- release/v*
schedule:
# "At 10:00 UTC (03:00 PT) on Monday" https://crontab.guru/#0_10_*_*_1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
echo '$PR_TITLE' | npx --offline commitlint -V
echo "$PR_TITLE" | npx --offline commitlint -V
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:
push:
branches:
- main
- latest
- release/v*

permissions:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"author": "GitHub Inc.",
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.17.0",
"version": "4.18.0",
"engines": ">=10",
"ciVersions": [
"10.0.0",
Expand Down

1 comment on commit cce6180

@ailadas

This comment was marked as spam.

Please sign in to comment.