From 0eb0e82e4cc900ac5a993261b72f65d4d70bbb19 Mon Sep 17 00:00:00 2001 From: stickz Date: Thu, 21 Dec 2023 09:28:51 -0500 Subject: [PATCH] Fix pull request GitHub Actions --- .github/workflows/pull.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index aba21d5ab6..85085adb7c 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -9,19 +9,18 @@ on: jobs: build: - runs-on: self-hosted + runs-on: ubuntu-latest steps: - - name: Clone Repo + - name: Setup GitHub Runner run: | - cd .. - rm -rf Redstone - git clone -q https://github.com/stickz/Redstone - - - name: Branch Commit History - run: | - git branch -D history - git branch history 57c5c38 - continue-on-error: true + sudo apt update + sudo apt install dos2unix + + - name: Checkout Pull Request + - uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.ref }} + repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Run Chmod run: chmod 777 .github/scripts/build.sh