From bfa59c960ebf578c875c43ddf78bea0937e3239f Mon Sep 17 00:00:00 2001 From: masesdevelopers <94312179+masesdevelopers@users.noreply.github.com> Date: Fri, 30 Aug 2024 18:03:38 +0200 Subject: [PATCH] Update to generate PRs in any case --- .github/workflows/generateclasses.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generateclasses.yaml b/.github/workflows/generateclasses.yaml index 7b73022653..e39549aa56 100644 --- a/.github/workflows/generateclasses.yaml +++ b/.github/workflows/generateclasses.yaml @@ -80,13 +80,13 @@ jobs: run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030%3B0618" src\net\JNet.sln - name: Extract commit SHA - if: ${{ github.repository_owner == 'masesgroup' && inputs.GeneratePR == true }} + if: ${{ inputs.GeneratePR == true }} run: | echo "GITHUB_COMMIT_MESSAGE=$(echo $GITHUB_SHA | cut -c 1-7)" >> $GITHUB_ENV shell: bash - name: Request a PR to commit changes - if: ${{ github.repository_owner == 'masesgroup' && inputs.GeneratePR == true }} #do not push any changes outside main repo or GeneratePR is false + if: ${{ inputs.GeneratePR == true }} uses: peter-evans/create-pull-request@v6 with: branch-suffix: short-commit-hash