Skip to content

Commit cd2dc7e

Browse files
committed
deprecation is marked in readme-vars.yml
1 parent 3b45384 commit cd2dc7e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

roles/generate-jenkins/templates/PACKAGE_TRIGGER_SCHEDULER.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
skipped_branches="${skipped_branches}${br} "
3434
elif [[ "${br}" == $(yq -r '.ls_branch' <<< "${JENKINS_VARS}") ]]; then
3535
echo "Branch appears to be live; checking workflow." >> $GITHUB_STEP_SUMMARY
36-
if [[ $(yq -r '.project_deprecation_status' <<< "${JENKINS_VARS}") == "true" ]]; then
36+
README_VARS=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/{{ project_repo_name }}/${br}/readme-vars.yml)
37+
if [[ $(yq -r '.project_deprecation_status' <<< "${README_VARS}") == "true" ]]; then
3738
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
3839
echo "> Branch appears to be deprecated; skipping trigger." >> $GITHUB_STEP_SUMMARY
3940
skipped_branches="${skipped_branches}${br} "

0 commit comments

Comments
 (0)