diff --git a/.github/workflows/develop_ci.yml b/.github/workflows/develop_ci.yml index 602d357e..1f997904 100644 --- a/.github/workflows/develop_ci.yml +++ b/.github/workflows/develop_ci.yml @@ -12,6 +12,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 + with: + ref: ${{ github.head_ref }} - name: Test run: | diff --git a/.github/workflows/main_ci.yml b/.github/workflows/main_ci.yml new file mode 100644 index 00000000..1f997904 --- /dev/null +++ b/.github/workflows/main_ci.yml @@ -0,0 +1,20 @@ +name: Pull Request Workflow + +on: + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + with: + ref: ${{ github.head_ref }} + + - name: Test + run: | + cat README.md && cat version.json