We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a61ed26 + 60f351c commit 98c40a8Copy full SHA for 98c40a8
.github/workflows/mend.yml
@@ -12,19 +12,7 @@ jobs:
12
mend:
13
runs-on: ubuntu-latest
14
steps:
15
- # If we are on a PR, checkout the PR head sha, else checkout the default branch
16
- - name: "Set the checkout ref"
17
- id: set_ref
18
- run: |
19
- if [[ "${{ github.event_name }}" == "pull_request_target" ]]; then
20
- echo "ref=${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT
21
- else
22
- echo "ref=${{ github.ref }}" >> $GITHUB_OUTPUT
23
- fi
24
-
25
- uses: actions/checkout@v4
26
- with:
27
- ref: ${{ steps.set_ref.outputs.ref }}
28
29
- name: 'setup node: 18 platform: ${{ runner.os }}'
30
uses: actions/setup-node@v4
0 commit comments