Skip to content

Commit 977dfe0

Browse files
committed
chore: postinstall for dependabot template-oss PR
1 parent f51906b commit 977dfe0

7 files changed

+89
-12
lines changed

.github/settings.yml

+26-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,26 @@
1-
---
2-
_extends: '.github:npm-cli/settings.yml'
1+
# This file is automatically added by @npmcli/template-oss. Do not edit.
2+
3+
repository:
4+
allow_merge_commit: false
5+
allow_rebase_merge: true
6+
allow_squash_merge: true
7+
squash_merge_commit_title: PR_TITLE
8+
squash_merge_commit_message: PR_BODY
9+
delete_branch_on_merge: true
10+
enable_automated_security_fixes: true
11+
enable_vulnerability_alerts: true
12+
13+
branches:
14+
- name: main
15+
protection:
16+
required_status_checks: null
17+
enforce_admins: true
18+
required_pull_request_reviews:
19+
required_approving_review_count: 1
20+
require_code_owner_reviews: true
21+
require_last_push_approval: true
22+
dismiss_stale_reviews: true
23+
restrictions:
24+
apps: []
25+
users: []
26+
teams: [ "cli-team" ]

.github/workflows/ci-release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
6262
return { summary }
6363
- name: Create Check
64-
uses: LouisBrunner/checks-action@v1.3.1
64+
uses: LouisBrunner/checks-action@v1.6.0
6565
id: check
6666
if: inputs.check-sha
6767
with:
@@ -93,7 +93,7 @@ jobs:
9393
- name: Post Lint
9494
run: npm run postlint --ignore-scripts
9595
- name: Conclude Check
96-
uses: LouisBrunner/checks-action@v1.3.1
96+
uses: LouisBrunner/checks-action@v1.6.0
9797
if: steps.check.outputs.check_id && always()
9898
with:
9999
token: ${{ secrets.GITHUB_TOKEN }}
@@ -162,7 +162,7 @@ jobs:
162162
163163
return { summary }
164164
- name: Create Check
165-
uses: LouisBrunner/checks-action@v1.3.1
165+
uses: LouisBrunner/checks-action@v1.6.0
166166
id: check
167167
if: inputs.check-sha
168168
with:
@@ -208,7 +208,7 @@ jobs:
208208
- name: Test
209209
run: npm test --ignore-scripts
210210
- name: Conclude Check
211-
uses: LouisBrunner/checks-action@v1.3.1
211+
uses: LouisBrunner/checks-action@v1.6.0
212212
if: steps.check.outputs.check_id && always()
213213
with:
214214
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pull-request.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,7 @@ jobs:
4444
npx --offline commitlint -V --from 'origin/${{ github.base_ref }}' --to ${{ github.event.pull_request.head.sha }}
4545
- name: Run Commitlint on PR Title
4646
if: steps.commit.outcome == 'failure'
47+
env:
48+
PR_TITLE: ${{ github.event.pull_request.title }}
4749
run: |
48-
echo '${{ github.event.pull_request.title }}' | npx --offline commitlint -V
50+
echo '$PR_TITLE' | npx --offline commitlint -V

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
125125
return { summary }
126126
- name: Create Check
127-
uses: LouisBrunner/checks-action@v1.3.1
127+
uses: LouisBrunner/checks-action@v1.6.0
128128
id: check
129129
if: steps.release.outputs.pr-sha
130130
with:
@@ -215,7 +215,7 @@ jobs:
215215
216216
return { summary }
217217
- name: Create Check
218-
uses: LouisBrunner/checks-action@v1.3.1
218+
uses: LouisBrunner/checks-action@v1.6.0
219219
id: check
220220
if: steps.commit.outputs.sha
221221
with:
@@ -225,7 +225,7 @@ jobs:
225225
sha: ${{ steps.commit.outputs.sha }}
226226
output: ${{ steps.check-output.outputs.result }}
227227
- name: Conclude Check
228-
uses: LouisBrunner/checks-action@v1.3.1
228+
uses: LouisBrunner/checks-action@v1.6.0
229229
if: needs.release.outputs.check-id && always()
230230
with:
231231
token: ${{ secrets.GITHUB_TOKEN }}
@@ -263,7 +263,7 @@ jobs:
263263
fi
264264
echo "result=$result" >> $GITHUB_OUTPUT
265265
- name: Conclude Check
266-
uses: LouisBrunner/checks-action@v1.3.1
266+
uses: LouisBrunner/checks-action@v1.6.0
267267
if: needs.update.outputs.check-id && always()
268268
with:
269269
token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
!/bin/
1616
!/CHANGELOG*
1717
!/CODE_OF_CONDUCT.md
18+
!/CONTRIBUTING.md
1819
!/docs/
1920
!/lib/
2021
!/LICENSE*

CONTRIBUTING.md

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<!-- This file is automatically added by @npmcli/template-oss. Do not edit. -->
2+
3+
# Contributing
4+
5+
## Code of Conduct
6+
7+
All interactions in the **npm** organization on GitHub are considered to be covered by our standard [Code of Conduct](https://docs.npmjs.com/policies/conduct).
8+
9+
## Reporting Bugs
10+
11+
Before submitting a new bug report please search for an existing or similar report.
12+
13+
Use one of our existing issue templates if you believe you've come across a unique problem.
14+
15+
Duplicate issues, or issues that don't use one of our templates may get closed without a response.
16+
17+
## Pull Request Conventions
18+
19+
### Commits
20+
21+
We use [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/).
22+
23+
When opening a pull request please be sure that either the pull request title, or each commit in the pull request, has one of the following prefixes:
24+
25+
- `feat`: For when introducing a new feature. The result will be a new semver minor version of the package when it is next published.
26+
- `fix`: For bug fixes. The result will be a new semver patch version of the package when it is next published.
27+
- `docs`: For documentation updates. The result will be a new semver patch version of the package when it is next published.
28+
- `chore`: For changes that do not affect the published module. Often these are changes to tests. The result will be *no* change to the version of the package when it is next published (as the commit does not affect the published version).
29+
30+
### Test Coverage
31+
32+
Pull requests made against this repo will run `npm test` automatically. Please make sure tests pass locally before submitting a PR.
33+
34+
Every new feature or bug fix should come with a corresponding test or tests that validate the solutions. Testing also reports on code coverage and will fail if code coverage drops.
35+
36+
### Linting
37+
38+
Linting is also done automatically once tests pass. `npm run lintfix` will fix most linting errors automatically.
39+
40+
Please make sure linting passes before submitting a PR.
41+
42+
## What _not_ to contribute?
43+
44+
### Dependencies
45+
46+
It should be noted that our team does not accept third-party dependency updates/PRs. If you submit a PR trying to update our dependencies we will close it with or without a reference to these contribution guidelines.
47+
48+
### Tools/Automation
49+
50+
Our core team is responsible for the maintenance of the tooling/automation in this project and we ask contributors to not make changes to these when contributing (e.g. `.github/*`, `.eslintrc.json`, `.licensee.json`). Most of those files also have a header at the top to remind folks they are automatically generated. Pull requests that alter these will not be accepted.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@
6363
],
6464
"templateOSS": {
6565
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
66-
"version": "4.14.1"
66+
"version": "4.15.1"
6767
}
6868
}

0 commit comments

Comments
 (0)