From 3dbb93f4d32331e2354e38466f0fa42e12fc4ecf Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Tue, 18 Mar 2025 09:32:47 +0100 Subject: [PATCH] Workflow --- .github/workflows/move-to-main-repo.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index 12433cb..825217b 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -57,7 +57,7 @@ jobs: script_name=$(echo "$filtered_issues" | head -n 1) # Nur das erste Issue nehmen script_name_lowercase=$(echo "$script_name" | tr '[:upper:]' '[:lower:]' | tr -d ' ') echo "Script Name: $script_name_lowercase" - echo "script_name=$script_name_lowercase" >> $GITHUB_ENV + echo "script_name=$script_name_lowercase" >> $GITHUB_OUTPUT echo "issue_nr=$issue_nr" >> $GITHUB_OUTPUT fi @@ -81,7 +81,8 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - gh issue comment ${{ steps.list_issues.outputs.issue_nr }} --body "Not all required files were found for ${{ steps.list_issues.outputs.script_name }}. Please check the files and try again. Must include ct/APP.sh, install/APP-install.sh, and frontend/public/json/APP.json." + script_name="${{ steps.list_issues.outputs.script_name }}" + gh issue comment ${{ steps.list_issues.outputs.issue_nr }} --body "Not all required files were found for $script_name. Please check the files and try again. Must include ct/$script_name.sh, install/$script_name-install.sh, and frontend/public/json/$script_name.json." exit 1 - name: Get GitHub App User ID