diff options
author | Nathanaƫl Houn <contact@nathanaelhoun.fr> | 2023-05-15 00:21:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-14 23:21:21 +0100 |
commit | 36184d9c387ad73f865b86701540ea8b7c38c825 (patch) | |
tree | 28d95efc368785c34e72351d4ba8a787ceeefade /.github/workflows/check-recipe-version-bump | |
parent | Upgrade pnpm and node versions; Upgrade npm modules (diff) | |
download | ferdium-recipes-36184d9c387ad73f865b86701540ea8b7c38c825.tar.gz ferdium-recipes-36184d9c387ad73f865b86701540ea8b7c38c825.tar.zst ferdium-recipes-36184d9c387ad73f865b86701540ea8b7c38c825.zip |
fix(ci): version bump check when new recipe and multiple commits (#362)
Diffstat (limited to '.github/workflows/check-recipe-version-bump')
-rw-r--r-- | .github/workflows/check-recipe-version-bump/dist/index.js | 2 | ||||
-rw-r--r-- | .github/workflows/check-recipe-version-bump/index.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/check-recipe-version-bump/dist/index.js b/.github/workflows/check-recipe-version-bump/dist/index.js index bccc451..92d622b 100644 --- a/.github/workflows/check-recipe-version-bump/dist/index.js +++ b/.github/workflows/check-recipe-version-bump/dist/index.js | |||
@@ -4063,7 +4063,7 @@ async function readFileFromGitBranch(branch, filename) { | |||
4063 | 4063 | ||
4064 | try { | 4064 | try { |
4065 | const changedFilesString = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput('changed-files'); | 4065 | const changedFilesString = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput('changed-files'); |
4066 | const changedFiles = JSON.parse(changedFilesString); | 4066 | const changedFiles = changedFilesString.split(' '); |
4067 | 4067 | ||
4068 | const changedFilesInRecipes = changedFiles | 4068 | const changedFilesInRecipes = changedFiles |
4069 | .filter(filename => filename.startsWith('recipes/')) | 4069 | .filter(filename => filename.startsWith('recipes/')) |
diff --git a/.github/workflows/check-recipe-version-bump/index.js b/.github/workflows/check-recipe-version-bump/index.js index 606c1bd..3c40480 100644 --- a/.github/workflows/check-recipe-version-bump/index.js +++ b/.github/workflows/check-recipe-version-bump/index.js | |||
@@ -32,7 +32,7 @@ async function readFileFromGitBranch(branch, filename) { | |||
32 | 32 | ||
33 | try { | 33 | try { |
34 | const changedFilesString = core.getInput('changed-files'); | 34 | const changedFilesString = core.getInput('changed-files'); |
35 | const changedFiles = JSON.parse(changedFilesString); | 35 | const changedFiles = changedFilesString.split(' '); |
36 | 36 | ||
37 | const changedFilesInRecipes = changedFiles | 37 | const changedFilesInRecipes = changedFiles |
38 | .filter(filename => filename.startsWith('recipes/')) | 38 | .filter(filename => filename.startsWith('recipes/')) |