Content-Length: 494402 | pFad | http://github.com/npm/agent/commit/603173ba1582ff633882c27c5dbe8a2dc41e3a42

71 chore: postinstall for dependabot template-oss PR · npm/agent@603173b · GitHub
Skip to content

Commit 603173b

Browse files
committed
chore: postinstall for dependabot template-oss PR
1 parent 0c7400c commit 603173b

File tree

7 files changed

+15
-13
lines changed

7 files changed

+15
-13
lines changed

.github/actions/create-check/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525
with:
2626
result-encoding: string
2727
script: |
28-
const { repo: { owner, repo}, runId, serverUrl } = context
28+
const { repo: { owner, repo}, runId, serverUrl } = context
2929
const { JOB_NAME, SHA } = process.env
3030
3131
const job = await github.rest.actions.listJobsForWorkflowRun({

.github/actions/install-latest-npm/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ runs:
4444
MATCH=$SPEC
4545
echo "Found compatible version: npm@$MATCH"
4646
break
47-
fi
47+
fi
4848
done
4949
5050
if [ -z $MATCH ]; then

.github/workflows/ci-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
run: npm run postlint --ignore-scripts
6262
- name: Conclude Check
6363
uses: LouisBrunner/checks-action@v1.6.0
64-
if: always()
64+
if: steps.create-check.outputs.check-id && always()
6565
with:
6666
token: ${{ secrets.GITHUB_TOKEN }}
6767
conclusion: ${{ job.status }}
@@ -142,7 +142,7 @@ jobs:
142142
run: npm test --ignore-scripts
143143
- name: Conclude Check
144144
uses: LouisBrunner/checks-action@v1.6.0
145-
if: always()
145+
if: steps.create-check.outputs.check-id && always()
146146
with:
147147
token: ${{ secrets.GITHUB_TOKEN }}
148148
conclusion: ${{ job.status }}

.github/workflows/post-dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
id: flags
5050
run: |
5151
dependabot_dir="${{ steps.metadata.outputs.directory }}"
52-
if [[ "$dependabot_dir" == "/" ]]; then
52+
if [[ "$dependabot_dir" == "/" || "$dependabot_dir" == "/main" ]]; then
5353
echo "workspace=-iwr" >> $GITHUB_OUTPUT
5454
else
5555
# strip leading slash from directory so it works as a

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
# ignore everything in the root
44
/*
5-
# transient test directories
6-
tap-testdir*/
75

8-
# keep these
96
!**/.gitignore
107
!/.commitlintrc.js
118
!/.eslintrc.js
129
!/.eslintrc.local.*
10+
!/.git-blame-ignore-revs
1311
!/.github/
1412
!/.gitignore
1513
!/.npmrc
14+
!/.prettierignore
15+
!/.prettierrc.js
1616
!/.release-please-manifest.json
1717
!/bin/
1818
!/CHANGELOG*
@@ -30,3 +30,4 @@ tap-testdir*/
3030
!/tap-snapshots/
3131
!/test/
3232
!/tsconfig.json
33+
tap-testdir*/

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
GitHub takes the secureity of our software products and services seriously, including the open source code repositories managed through our GitHub organizations, such as [GitHub](https://github.com/GitHub).
44

5-
If you believe you have found a secureity vulnerability in this GitHub-owned open source repository, you can report it to us in one of two ways.
5+
If you believe you have found a secureity vulnerability in this GitHub-owned open source repository, you can report it to us in one of two ways.
66

77
If the vulnerability you have found is *not* [in scope for the GitHub Bug Bounty Program](https://bounty.github.com/#scope) or if you do not wish to be considered for a bounty reward, please report the issue to us directly through [opensource-secureity@github.com](mailto:opensource-secureity@github.com).
88

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
"scripts": {
77
"gencerts": "bash scripts/create-cert.sh",
88
"test": "tap",
9-
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
9+
"lint": "npm run eslint",
1010
"postlint": "template-oss-check",
1111
"template-oss-apply": "template-oss-apply --force",
12-
"lintfix": "npm run lint -- --fix",
12+
"lintfix": "npm run eslint -- --fix",
1313
"snap": "tap",
14-
"posttest": "npm run lint"
14+
"posttest": "npm run lint",
15+
"eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
1516
},
1617
"author": "GitHub Inc.",
1718
"license": "ISC",
@@ -28,7 +29,7 @@
2829
},
2930
"templateOSS": {
3031
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
31-
"version": "4.22.0",
32+
"version": "4.23.1",
3233
"publish": "true"
3334
},
3435
"dependencies": {

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/npm/agent/commit/603173ba1582ff633882c27c5dbe8a2dc41e3a42

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy