diff --git a/.github/workflows/build_pull_request.yml b/.github/workflows/build_pull_request.yml index d20d98d..3c7bceb 100644 --- a/.github/workflows/build_pull_request.yml +++ b/.github/workflows/build_pull_request.yml @@ -27,7 +27,7 @@ jobs: with: access_token: ${{ github.token }} - - name: Checkout master branch + - name: Checkout pull request uses: actions/checkout@v2 with: ref: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index dd992fe..c851b83 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,7 +28,7 @@ jobs: with: access_token: ${{ github.token }} - - name: Checkout master branch + - name: Checkout ${{ github.ref }} uses: actions/checkout@v2 with: ref: ${{ github.ref }}