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 4fb799a + 44ac27a commit 9cdd6b4Copy full SHA for 9cdd6b4
.github/workflows/mend_ruby.yml
@@ -37,23 +37,11 @@ jobs:
37
exit 1
38
fi
39
40
- # If we are on a PR, checkout the PR head sha, else checkout the default branch
41
- - name: "Set the checkout ref"
42
- if: success()
43
- id: set_ref
44
- run: |
45
- if [[ "${{ github.event_name }}" == "pull_request_target" ]]; then
46
- echo "ref=${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT
47
- else
48
- echo "ref=${{ github.ref }}" >> $GITHUB_OUTPUT
49
- fi
50
-
51
- name: "checkout"
52
if: success()
53
uses: "actions/checkout@v4"
54
with:
55
fetch-depth: 1
56
- ref: ${{ steps.set_ref.outputs.ref }}
57
58
- name: "setup ruby"
59
0 commit comments