diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 788ba9b6f..831f54cd5 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -33,25 +33,6 @@ jobs: with: fetch-depth: 0 - - name: Check for UTILS branch in Fork - id: check-branch - run: | - USER_FORK="https://github.com/${{ github.event.pull_request.user.login }}/utils.git" - BRANCH_NAME="${{ github.event.pull_request.head.ref }}" - BRANCH_EXISTS=$(curl -s -o /dev/null -w '%{http_code}' "$USER_FORK/branches/$BRANCH_NAME" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}") - if [ $BRANCH_EXISTS -eq 200 ]; then - echo "UTILS_FORK_BRANCH_EXISTS=true" >> $GITHUB_ENV - echo "USER_FORK=$USER_FORK" >> $GITHUB_ENV - else - echo "UTILS_FORK_BRANCH_EXISTS=false" >> $GITHUB_ENV - - - name: Kontorla promennych - run: | - echo $USER_FORK - echo $BRANCH_NAME - echo $BRANCH_EXISTS - echo $UTILS_FORK_BRANCH_EXISTS - - name: Set up JDK 17 uses: actions/setup-java@v4 with: