aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/check-recipe-version-bump
diff options
context:
space:
mode:
authorLibravatar Nathanaƫl Houn <contact@nathanaelhoun.fr>2023-05-15 00:21:21 +0200
committerLibravatar GitHub <noreply@github.com>2023-05-14 23:21:21 +0100
commit36184d9c387ad73f865b86701540ea8b7c38c825 (patch)
tree28d95efc368785c34e72351d4ba8a787ceeefade /.github/workflows/check-recipe-version-bump
parentUpgrade pnpm and node versions; Upgrade npm modules (diff)
downloadferdium-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.js2
-rw-r--r--.github/workflows/check-recipe-version-bump/index.js2
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
4064try { 4064try {
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
33try { 33try {
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/'))