Skip to content

Commit eb8d4c4

Browse files
committedAug 27, 2024·
chore: postinstall for dependabot template-oss PR
1 parent 1fc9b64 commit eb8d4c4

File tree

7 files changed

+14
-13
lines changed

7 files changed

+14
-13
lines changed
 

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

+1-1
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

+1-1
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

+2-2
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 }}
@@ -145,7 +145,7 @@ jobs:
145145
run: npm test --ignore-scripts
146146
- name: Conclude Check
147147
uses: LouisBrunner/checks-action@v1.6.0
148-
if: always()
148+
if: steps.create-check.outputs.check-id && always()
149149
with:
150150
token: ${{ secrets.GITHUB_TOKEN }}
151151
conclusion: ${{ job.status }}

‎.github/workflows/post-dependabot.yml

+1-1
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

+4-3
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
GitHub takes the security 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 security 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 security 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-security@github.com](mailto:opensource-security@github.com).
88

‎package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"lib/"
99
],
1010
"scripts": {
11-
"eslint": "eslint",
12-
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
13-
"lintfix": "npm run lint -- --fix",
11+
"eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
12+
"lint": "npm run eslint",
13+
"lintfix": "npm run eslint -- --fix",
1414
"test": "tap",
1515
"posttest": "npm run lint",
1616
"npmclilint": "npmcli-lint",
@@ -62,7 +62,7 @@
6262
},
6363
"templateOSS": {
6464
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
65-
"version": "4.22.0",
65+
"version": "4.23.1",
6666
"publish": "true"
6767
}
6868
}

0 commit comments

Comments
 (0)
Please sign in to comment.