Skip to content

Commit 9cdd6b4

Browse files
authored
Merge pull request #96 from puppetlabs/malikparvez-patch-1
Revert pull_request_target changes
2 parents 4fb799a + 44ac27a commit 9cdd6b4

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

.github/workflows/mend_ruby.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,23 +37,11 @@ jobs:
3737
exit 1
3838
fi
3939
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-
5140
- name: "checkout"
5241
if: success()
5342
uses: "actions/checkout@v4"
5443
with:
5544
fetch-depth: 1
56-
ref: ${{ steps.set_ref.outputs.ref }}
5745

5846
- name: "setup ruby"
5947
if: success()

0 commit comments

Comments
 (0)