Skip to content

Commit 7b17d4d

Browse files
authored
Update package-update.yml
1 parent 5586921 commit 7b17d4d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/package-update.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ on:
1010
options:
1111
- mithril
1212

13-
permissions:
14-
contents: write
15-
1613
jobs:
1714
update:
1815
name: Update ${{ inputs.package }}
@@ -37,7 +34,7 @@ jobs:
3734
const {PKG, VERSION, GITHUB_OUTPUT} = process.env
3835
if (!PKG) throw new Error("Missing $PKG")
3936
if (!VERSION) throw new Error("Missing $VERSION")
40-
const pkg = JSON.parse(fs.readFileSync("package.json")
37+
const pkg = JSON.parse(fs.readFileSync("package.json"))
4138
console.log(`old version=${pkg.dependencies[PKG]}`)
4239
if (pkg.dependencies[PKG] === VERSION) {
4340
fs.writeFileSync(GITHUB_OUTPUT, "commit=n")

0 commit comments

Comments
 (0)