Skip to content

Commit

Permalink
Revert "fix(github-pr-branch): switched from the base ref to the head…
Browse files Browse the repository at this point in the history
… ref"

This reverts commit 33a9d78.
  • Loading branch information
travi committed Feb 11, 2023
1 parent 33a9d78 commit 61a36e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const getPrEvent = ({ env }) => {
if (event && event.pull_request) {
return {
branch: event.pull_request.base
? parseBranch(event.pull_request.head.ref)
? parseBranch(event.pull_request.base.ref)
: undefined,
pr: event.pull_request.number,
};
Expand Down

0 comments on commit 61a36e4

Please sign in to comment.