We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5586921 commit 7b17d4dCopy full SHA for 7b17d4d
.github/workflows/package-update.yml
@@ -10,9 +10,6 @@ on:
10
options:
11
- mithril
12
13
-permissions:
14
- contents: write
15
-
16
jobs:
17
update:
18
name: Update ${{ inputs.package }}
@@ -37,7 +34,7 @@ jobs:
37
34
const {PKG, VERSION, GITHUB_OUTPUT} = process.env
38
35
if (!PKG) throw new Error("Missing $PKG")
39
36
if (!VERSION) throw new Error("Missing $VERSION")
40
- const pkg = JSON.parse(fs.readFileSync("package.json")
+ const pkg = JSON.parse(fs.readFileSync("package.json"))
41
console.log(`old version=${pkg.dependencies[PKG]}`)
42
if (pkg.dependencies[PKG] === VERSION) {
43
fs.writeFileSync(GITHUB_OUTPUT, "commit=n")
0 commit comments