Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: @npmcli/template-oss@4.18.0 #6654

Merged
merged 1 commit into from
Jul 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-libnpmaccess.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- workspaces/libnpmaccess/**
push:
branches:
- main
- latest
- release/v*
paths:
- workspaces/libnpmaccess/**
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-libnpmdiff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- workspaces/libnpmdiff/**
push:
branches:
- main
- latest
- release/v*
paths:
- workspaces/libnpmdiff/**
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-libnpmexec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- workspaces/libnpmexec/**
push:
branches:
- main
- latest
- release/v*
paths:
- workspaces/libnpmexec/**
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-libnpmfund.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- workspaces/libnpmfund/**
push:
branches:
- main
- latest
- release/v*
paths:
- workspaces/libnpmfund/**
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-libnpmhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- workspaces/libnpmhook/**
push:
branches:
- main
- latest
- release/v*
paths:
- workspaces/libnpmhook/**
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-libnpmorg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- workspaces/libnpmorg/**
push:
branches:
- main
- latest
- release/v*
paths:
- workspaces/libnpmorg/**
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-libnpmpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- workspaces/libnpmpack/**
push:
branches:
- main
- latest
- release/v*
paths:
- workspaces/libnpmpack/**
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-libnpmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- workspaces/libnpmpublish/**
push:
branches:
- main
- latest
- release/v*
paths:
- workspaces/libnpmpublish/**
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-libnpmsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- workspaces/libnpmsearch/**
push:
branches:
- main
- latest
- release/v*
paths:
- workspaces/libnpmsearch/**
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-libnpmteam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- workspaces/libnpmteam/**
push:
branches:
- main
- latest
- release/v*
paths:
- workspaces/libnpmteam/**
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-libnpmversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- workspaces/libnpmversion/**
push:
branches:
- main
- latest
- release/v*
paths:
- workspaces/libnpmversion/**
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-npmcli-arborist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- workspaces/arborist/**
push:
branches:
- main
- latest
- release/v*
paths:
- workspaces/arborist/**
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-npmcli-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- workspaces/config/**
push:
branches:
- main
- latest
- release/v*
paths:
- workspaces/config/**
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-npmcli-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- docs/**
push:
branches:
- main
- latest
- release/v*
paths:
- docs/**
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-npmcli-mock-globals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- mock-globals/**
push:
branches:
- main
- latest
- release/v*
paths:
- mock-globals/**
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-npmcli-mock-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- mock-registry/**
push:
branches:
- main
- latest
- release/v*
paths:
- mock-registry/**
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-npmcli-smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- smoke-tests/**
push:
branches:
- main
- latest
- release/v*
paths:
- smoke-tests/**
schedule:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

return { summary }
- name: Create Check
uses: LouisBrunner/checks-action@v1.3.1
uses: LouisBrunner/checks-action@v1.6.0
id: check
if: inputs.check-sha
with:
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
- name: Post Lint
run: node . run postlint --ignore-scripts -ws -iwr --if-present
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.3.1
uses: LouisBrunner/checks-action@v1.6.0
if: steps.check.outputs.check_id && always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:

return { summary }
- name: Create Check
uses: LouisBrunner/checks-action@v1.3.1
uses: LouisBrunner/checks-action@v1.6.0
id: check
if: inputs.check-sha
with:
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.3.1
uses: LouisBrunner/checks-action@v1.6.0
if: steps.check.outputs.check_id && always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -264,7 +264,7 @@ jobs:

return { summary }
- name: Create Check
uses: LouisBrunner/checks-action@v1.3.1
uses: LouisBrunner/checks-action@v1.6.0
id: check
if: inputs.check-sha
with:
Expand Down Expand Up @@ -312,7 +312,7 @@ jobs:
exit 1
fi
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.3.1
uses: LouisBrunner/checks-action@v1.6.0
if: steps.check.outputs.check_id && always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ on:
- workspaces/**
push:
branches:
- main
- latest
- release/v*
paths-ignore:
- docs/**
- smoke-tests/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ name: CodeQL
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
- cron: "0 10 * * 1"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,7 @@ jobs:
npx --offline commitlint -V --from 'origin/${{ github.base_ref }}' --to ${{ github.event.pull_request.head.sha }}
- name: Run Commitlint on PR Title
if: steps.commit.outcome == 'failure'
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
echo '${{ github.event.pull_request.title }}' | npx --offline commitlint -V
echo "$PR_TITLE" | npx --offline commitlint -V
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
type: string
push:
branches:
- main
- latest
- release/v*

Expand Down Expand Up @@ -77,7 +76,7 @@ jobs:
let commentId = comments.find(c => c.user.login === 'github-actions[bot]' && c.body.startsWith(body))?.id

body += `Release workflow run: ${workflow.html_url}\n\n#### Force CI to Update This Release\n\n`
body += `This PR will be updated and CI will run for every non-\`chore:\` commit that is pushed to \`latest\`. `
body += `This PR will be updated and CI will run for every non-\`chore:\` commit that is pushed to \`${REF_NAME}\`. `
body += `To force CI to update this PR, run this command:\n\n`
body += `\`\`\`\ngh workflow run release.yml -r ${REF_NAME} -R ${owner}/${repo} -f release-pr=${issue_number}\n\`\`\``

Expand Down Expand Up @@ -123,7 +122,7 @@ jobs:

return { summary }
- name: Create Check
uses: LouisBrunner/checks-action@v1.3.1
uses: LouisBrunner/checks-action@v1.6.0
id: check
if: steps.release.outputs.pr-sha
with:
Expand Down Expand Up @@ -213,7 +212,7 @@ jobs:

return { summary }
- name: Create Check
uses: LouisBrunner/checks-action@v1.3.1
uses: LouisBrunner/checks-action@v1.6.0
id: check
if: steps.commit.outputs.sha
with:
Expand All @@ -223,7 +222,7 @@ jobs:
sha: ${{ steps.commit.outputs.sha }}
output: ${{ steps.check-output.outputs.result }}
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.3.1
uses: LouisBrunner/checks-action@v1.6.0
if: needs.release.outputs.check-id && always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -261,7 +260,7 @@ jobs:
fi
echo "result=$result" >> $GITHUB_OUTPUT
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.3.1
uses: LouisBrunner/checks-action@v1.6.0
if: needs.update.outputs.check-id && always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@isaacs/string-locale-compare": "^1.1.0",
"@npmcli/config": "^6.1.7",
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.14.1",
"@npmcli/template-oss": "4.18.0",
"front-matter": "^4.0.2",
"ignore-walk": "^6.0.1",
"jsdom": "^21.1.0",
Expand Down Expand Up @@ -57,7 +57,7 @@
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"ciVersions": "latest",
"engines": "^14.17.0 || ^16.13.0 || >=18.0.0",
"version": "4.14.1",
"version": "4.18.0",
"content": "../scripts/template-oss/index.js",
"workspaceRepo": {
"add": {
Expand Down
4 changes: 2 additions & 2 deletions mock-globals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.14.1"
"version": "4.18.0"
},
"tap": {
"branches": 89,
Expand All @@ -48,7 +48,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.1",
"@npmcli/template-oss": "4.14.1",
"@npmcli/template-oss": "4.18.0",
"tap": "^16.3.2"
}
}
4 changes: 2 additions & 2 deletions mock-registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.14.1"
"version": "4.18.0"
},
"tap": {
"no-coverage": true,
Expand All @@ -46,7 +46,7 @@
"devDependencies": {
"@npmcli/arborist": "^6.1.1",
"@npmcli/eslint-config": "^4.0.1",
"@npmcli/template-oss": "4.14.1",
"@npmcli/template-oss": "4.18.0",
"json-stringify-safe": "^5.0.1",
"nock": "^13.3.0",
"npm-package-arg": "^10.1.0",
Expand Down
Loading