File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,11 +63,19 @@ jobs:
6363 export EESSI_OS_TYPE=linux
6464 env | grep ^EESSI | sort
6565
66- # check for missing installations if a file in the easystacks directory is changed
66+ # check the changed easystack files
6767 echo "check for missing installation in changed easystack files"
6868 easystack_files=(${CHANGED_EASYSTACKS})
69-
69+
70+ # check for missing installations if a file in the easystacks directory is changed
71+ # check easystack file for the use of `--from-pr`
7072 for easystack_file in ${easystack_files[@]}; do
73+ echo "check for the use of from-pr in ${easystack_file}"
74+ if grep -q "from-pr" ${easystack_file}; then
75+ echo "ERROR: from-pr is found in ${easystack_file} please use from-commit" >&2
76+ exit 1
77+ fi
78+
7179 echo "check missing installatios for ${easystack_file}..."
7280 ./check_missing_installations.sh ${easystack_file} || ec=$?
7381 export eb_missing_out=$(./check_missing_installations.sh ${easystack_file})
You can’t perform that action at this time.
0 commit comments