diff --git a/.github/workflows/mend.yml b/.github/workflows/mend.yml index 5b5a7127..9c74c1e4 100644 --- a/.github/workflows/mend.yml +++ b/.github/workflows/mend.yml @@ -12,19 +12,7 @@ jobs: mend: runs-on: ubuntu-latest steps: - # If we are on a PR, checkout the PR head sha, else checkout the default branch - - name: "Set the checkout ref" - id: set_ref - run: | - if [[ "${{ github.event_name }}" == "pull_request_target" ]]; then - echo "ref=${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT - else - echo "ref=${{ github.ref }}" >> $GITHUB_OUTPUT - fi - - uses: actions/checkout@v4 - with: - ref: ${{ steps.set_ref.outputs.ref }} - name: 'setup node: 18 platform: ${{ runner.os }}' uses: actions/setup-node@v4